* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.login-page {
    font-family: 'Inter', sans-serif;
    background-color: #0a0e12;
    color: #e0e0e0;
}

body.login-page h1,
body.login-page h2,
body.login-page h3,
body.login-page h4,
body.login-page h5,
body.login-page h6 {
    font-family: 'Montserrat', sans-serif;
}

/* HEADER SUPERIOR FIJO */
.top-bar {
    background: #0a0e12;
    border-bottom: 2px solid #1e3a5f;
    padding: 0.8rem 0;
    position: relative;
    z-index: 10;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2027 100%);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2c5364;
}

.logo-icon i {
    font-size: 1.5rem;
    color: #4fc3f7;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: 1px;
}

.logo-text span {
    color: #4fc3f7;
    font-weight: 600;
}

.top-contact {
    display: flex;
    gap: 2rem;
    color: #a0b4c8;
    font-size: 0.9rem;
}

.top-contact i {
    color: #4fc3f7;
    margin-right: 8px;
}

/* HERO */
.hero-slider-section {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: #0a0e12;
}

.slider-images {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slider-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideShow 18s infinite;
}

.slider-image::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 20, 30, 0.95) 0%, rgba(15, 32, 39, 0.85) 50%, rgba(44, 83, 100, 0.75) 100%);
}

.slider-image:nth-child(1) { animation-delay: 0s; }
.slider-image:nth-child(2) { animation-delay: 6s; }
.slider-image:nth-child(3) { animation-delay: 12s; }

@keyframes slideShow {
    0%, 28% { opacity: 1; }
    33%, 94% { opacity: 0; }
    100% { opacity: 1; }
}

.hero-content-overlay {
    position: relative;
    z-index: 5;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* INFO IZQUIERDA */
.hero-info h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.hero-info h1 span {
    color: #4fc3f7;
    display: block;
    font-size: 2rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.hero-description {
    color: #c0d0e0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    border-left: 3px solid #4fc3f7;
    padding-left: 1.5rem;
}

.module-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-item {
    background: rgba(15, 32, 39, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 195, 247, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-item:hover {
    background: rgba(30, 58, 95, 0.7);
    border-color: rgba(79, 195, 247, 0.4);
    transform: translateX(5px);
}

.feature-item i {
    font-size: 1.8rem;
    color: #4fc3f7;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #a0b4c8;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

/* LOGIN */
.login-card-embedded {
    background: rgba(10, 20, 30, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(79, 195, 247, 0.25);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(79, 195, 247, 0.1) inset;
    animation: fadeInUp 0.6s ease-out;
}

.login-header-mini {
    text-align: center;
    margin-bottom: 2rem;
}

.login-badge {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2027 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid #4fc3f7;
}

.login-badge i {
    font-size: 1.8rem;
    color: #4fc3f7;
}

.login-header-mini h3 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.login-header-mini p {
    color: #a0b4c8;
    margin: 0;
    font-size: 0.9rem;
}

.form-group-material {
    margin-bottom: 1.8rem;
}

.input-group-custom {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(79, 195, 247, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.input-group-custom:focus-within {
    border-color: #4fc3f7;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.1);
}

.input-icon {
    background: transparent !important;
    border: none !important;
    color: #4fc3f7 !important;
    padding: 0.8rem 1rem !important;
}

.input-field {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 0.8rem 1rem 0.8rem 0 !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
    font-weight: 400;
}

.input-field:focus {
    box-shadow: none !important;
    outline: none !important;
}

.btn-password-toggle {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.4) !important;
    padding: 0.8rem 1rem !important;
    transition: color 0.3s ease;
}

.btn-password-toggle:hover {
    color: #4fc3f7 !important;
}

.form-label-custom {
    color: #c0d0e0;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.checkbox-wrapper {
    margin: 1.5rem 0;
}

.custom-checkbox .form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(79, 195, 247, 0.3);
    cursor: pointer;
}

.custom-checkbox .form-check-input:checked {
    background-color: #4fc3f7;
    border-color: #4fc3f7;
}

.custom-checkbox .form-check-label {
    color: #c0d0e0;
    cursor: pointer;
    font-weight: 500;
}

.btn-login-executive {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2027 100%);
    border: 1px solid #4fc3f7;
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.9rem;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(79, 195, 247, 0.2);
}

.btn-login-executive:hover {
    background: linear-gradient(135deg, #2c5364 0%, #1e3a5f 100%);
    border-color: #6dd5ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 195, 247, 0.3);
    color: #ffffff;
}

.btn-login-executive i {
    margin-right: 8px;
}

.validation-error,
.field-validation-error {
    color: #ff6b6b !important;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    display: block;
}

.alert-custom,
.validation-summary-errors {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff8a8a;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 1rem;
}

.login-footer-note {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* DETALLE MÓDULOS */
.modules-detail-section {
    background: #0a0e12;
    padding: 5rem 0;
    border-top: 1px solid rgba(79, 195, 247, 0.1);
}

.section-header h2 {
    color: #ffffff;
    font-weight: 800;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header h2 span {
    color: #4fc3f7;
}

.section-header .line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4fc3f7, transparent);
    margin: 1rem auto 2rem;
}

.detail-card {
    background: linear-gradient(135deg, #0f2027 0%, #0a0e12 100%);
    border: 1px solid rgba(79, 195, 247, 0.15);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.detail-card:hover {
    border-color: rgba(79, 195, 247, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.detail-icon {
    font-size: 2.5rem;
    color: #4fc3f7;
    margin-bottom: 1.5rem;
}

.detail-card h4 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.detail-card p {
    color: #a0b4c8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.detail-list {
    list-style: none;
    padding: 0;
}

.detail-list li {
    color: #c0d0e0;
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
}

.detail-list li i {
    color: #4fc3f7;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* FOOTER */
.footer-corporate {
    background: #050a0e;
    border-top: 1px solid rgba(79, 195, 247, 0.1);
    padding: 2rem 0;
    text-align: center;
    color: #6a8a9e;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-info h1 {
        font-size: 2.5rem;
    }

    .hero-slider-section {
        min-height: auto;
    }

    .hero-content-overlay {
        min-height: auto;
        padding: 2rem 0;
    }

    .module-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 0.5rem 0;
    }

    .brand-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }

    .top-contact {
        flex-direction: column;
        gap: 0.3rem;
        align-items: center;
    }

    .hero-info h1 {
        font-size: 2rem;
        text-align: center;
    }

    .hero-description {
        text-align: center;
        border-left: none;
        border-top: 3px solid #4fc3f7;
        padding-left: 0;
        padding-top: 1rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

