:root {
    --card-max-width: 800px;
    --transition-speed: 0.3s;
}

body {
    background-color: var(--page-bg);
    color: var(--text-color);
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    margin: 0;
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.container {
    max-width: var(--card-max-width);
}

.card {
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.profile-banner {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.profile-photo-container {
    margin-top: -100px;
    padding-left: 1.5rem;
    position: relative;
    z-index: 5;
}

.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid var(--card-bg);
    object-fit: cover;
}

.profile-info {
    padding: 1rem 1.5rem;
}

.unlam-logo {
    width: 60px;
    height: auto;
}

.line-height-1 {
    line-height: 1;
}

.experience-item,
.education-item {
    padding: 1.5rem 0;
}

.experience-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* code.js compatibility */
.jzpXKPEeRZlDwTJsfWKfHLXzQkHaoCkTwBUnnk {
    display: block;
    overflow: visible;
}

#theme-toggle-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    z-index: 100;
}

.link-white {
    color: inherit;
    text-decoration: none;
}

.link-white:hover {
    text-decoration: underline;
}

.border-bottom {
    border-bottom-color: var(--border-color) !important;
}

/* CONTACT LINKS - BASE (SIN COLORES) */
.contact-links {
    display: flex;
    gap: 10px;
}

.contact-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.contact-link i {
    font-size: 16px;
}

.contact-link:hover {
    transform: translateY(-1px);
}

/* CONTACT LINKS ALINEADOS A LA DERECHA */
.contact-links-right {
    justify-content: flex-end;
}

/* MOBILE */
@media (max-width: 768px) {
    .contact-links {
        justify-content: center;
    }
}