/* Fuentes oficiales Universidad Continental */
@font-face {
    font-family: 'Neue Plak';
    src: url('recursos/fonts/NeuePlak-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Plak';
    src: url('recursos/fonts/NeuePlak-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-purple: #7000B4;
    --dark-purple: #4D007C;
    --white: #FFFFFF;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --bg-gray-light: #F7F7F7;
    --border-gray: #E2E8F0;
    --radius-lg: 12px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Neue Plak', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Base Layout */
.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (min-width: 1024px) {
    .container {
        flex-direction: row;
    }
}

/* Visibility Helpers */
.desktop-only {
    display: none;
}

.mobile-only {
    display: block;
}

@media (min-width: 1024px) {
    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none;
    }
}

/* Hero Section (Left-side) */
.hero-section {
    position: relative;
    background: var(--primary-purple);
    width: 100%;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-section {
        flex: 1.25;
        height: 100vh;
    }
}

/* Hero Images Display Logic */
.desktop-hero-img {
    display: none;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.mobile-hero-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .desktop-hero-img {
        display: block;
        width: 100%;
        height: 100% !important;
        object-fit: cover;
    }

    .mobile-hero-img {
        display: none !important;
    }
}

/* Login Section (Right-side) */
.login-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 24px;
    position: relative;
}

@media (min-width: 1024px) {
    .login-main {
        padding: 60px 100px;
    }
}

.mobile-top-header {
    text-align: center;
    padding: 20px 24px 10px;
    background: var(--white);
}

.logo-dark {
    height: 60px;
    /* Slightly larger original logo */
    object-fit: contain;
}

.login-core {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.desktop-top-logo {
    margin-bottom: 20px;
    text-align: center;
}

.login-form-area {
    text-align: center;
}

.welcome-heading {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.welcome-text {
    /* color: var(--text-muted); */
    font-size: 1.10rem;
    margin-bottom: 40px;
}

/* Google Login Button - Fixed Spacing */
.btn-google-login {
    width: 100%;
    max-width: 340px;
    height: 52px;
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin: 0 auto 24px;
    padding: 0 20px;
}

.btn-google-login:hover {
    background: var(--dark-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(112, 0, 180, 0.2);
}

.btn-label {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.btn-label strong {
    margin-left: 6px;
    font-weight: 400;
    font-size: 1.25rem;
}

.forgot-pwd-link {
    display: inline-block;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 48px;
    transition: var(--transition-smooth);
}

.forgot-pwd-link:hover {
    color: var(--primary-purple);
    text-decoration: underline;
}

/* Mobile Nav Cards - Visible only on Mobile */
.mb-nav-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 1024px) {
    .mb-nav-cards {
        display: none !important;
    }
}

.nav-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition-smooth);
    text-align: left;
}

.nav-card:hover {
    border-color: var(--primary-purple);
    background: #FAFAFF;
}

.nav-card-icon {
    width: 48px;
    height: 48px;
    background: #F4F0FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.nav-card-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nav-card-label {
    flex: 1;
    font-weight: 600;
    font-size: 1.05rem;
}

.nav-card-arrow {
    color: var(--primary-purple);
}

/* Footers - Logic-specific visibility */
.desktop-footer-bottom {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-footer-bottom {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 20px 24px;
        background: var(--primary-purple);
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-pill {
    background: #9B51D8;
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 0.5px !important;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 220px;
    /* Ancho uniforme */
    white-space: nowrap;
    /* Evita el salto de línea */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-pill:hover {
    opacity: 1;
}

.copyright-line {
    font-size: 0.75rem;
    color: var(--white);
    opacity: 0.8;
}

.mobile-footer-bottom {
    background: var(--primary-purple);
    padding: 16px 20px;
    text-align: center;
}

.mobile-footer-bottom .copyright-line {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 400;
}



/* Small Screens Adjustments */
@media (max-width: 640px) {
    .welcome-heading {
        font-size: 1.75rem;
    }
}