﻿/* =========================================================
   CONTAINER CARE PORTAL
   Identidad corporativa industrial
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    background: #f4f7f9;
    color: #253746;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.site-container {
    width: calc(100% - 40px);
    max-width: 1180px;
    margin: 0 auto;
}
/* =========================================================
   ENCABEZADO
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #dfe6eb;
    box-shadow: 0 4px 18px rgba(16, 45, 67, 0.06);
}

.header-accent {
    height: 5px;
    background: #075a91;
}

.header-content {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.brand img,
.brand-image {
    width: auto;
    height: 32px;
    max-width: 245px;
    display: block;
    object-fit: contain;
}
/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.main-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 30px 16px 27px;
    color: #405564;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        color 160ms ease,
        background-color 160ms ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 20px;
    left: 16px;
    height: 3px;
    background: #0879bd;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
}

.nav-link:hover,
.nav-link:focus {
    color: #075a91;
    outline: none;
}

.nav-link:hover::after,
.nav-link:focus::after {
    transform: scaleX(1);
}

/* =========================================================
   BOTÓN DEL MENÚ MÓVIL
   ========================================================= */

.menu-toggle {
    width: 44px;
    height: 42px;
    display: none;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #cfdae1;
    border-radius: 7px;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    display: block;
    margin: 4px 0;
    background: #17425d;
}

/* =========================================================
   CONTENIDO
   ========================================================= */

.site-main {
    min-height: calc(100vh - 226px);
}

/* =========================================================
   PIE DE PÁGINA
   ========================================================= */

.site-footer {
    padding: 34px 0;
    background: #102f43;
    color: #ffffff;
    border-top: 5px solid #0879bd;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    font-size: 17px;
    font-weight: 700;
}

.footer-brand span {
    margin-top: 4px;
    color: #bed0dc;
    font-size: 13px;
}

.footer-copy {
    color: #dce7ed;
    font-size: 13px;
    text-align: right;
}

/* =========================================================
   FORMULARIOS BASE
   ========================================================= */

.form-control {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    background: #ffffff;
    color: #263f50;
    border: 1px solid #cbd6dd;
    border-radius: 6px;
    outline: none;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.form-control:focus {
    border-color: #0879bd;
    box-shadow: 0 0 0 3px rgba(8, 121, 189, 0.12);
}

.btn-primary {
    min-height: 46px;
    padding: 11px 24px;
    background: #075a91;
    color: #ffffff;
    border: 1px solid #075a91;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #064b79;
    border-color: #064b79;
}

.btn-primary:active {
    transform: translateY(1px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 800px) {

        .brand img,
    .brand-image {
        height: 26px;
        max-width: 190px;
    }

    .site-container {
        width: calc(100% - 28px);
    }

    .header-content {
        min-height: 74px;
        flex-wrap: wrap;
        gap: 0;
    }


    .menu-toggle {
        display: block;
    }

    .main-navigation {
        width: 100%;
        max-height: 0;
        display: block;
        overflow: hidden;
        transition: max-height 200ms ease;
    }

    .main-navigation.is-open {
        max-height: 240px;
        padding-bottom: 14px;
    }

    .nav-link {
        display: block;
        padding: 13px 8px;
        border-top: 1px solid #edf1f4;
    }

    .nav-link::after {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-copy {
        text-align: left;
    }
}


/* =========================================================
   INICIO
   ========================================================= */

.home-hero {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: #071f33;
}

.home-hero-image {
    width: 100%;
    height: 100%;
    display: block;

    /*
       La imagen panorámica ya fue preparada para el portal.
       Se usa fill para mostrarla completa, sin recortes.
    */
    object-fit: fill;
    object-position: center center;
}

.home-hero-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
}

.home-hero-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 24, 42, 0.76) 0%,
            rgba(3, 28, 48, 0.46) 34%,
            rgba(3, 28, 48, 0.12) 62%,
            rgba(3, 28, 48, 0.00) 100%
        );
}

.home-hero-copy {
    width: 100%;
    max-width: 570px;
    color: #ffffff;
}

.home-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.1;
    text-transform: uppercase;
}

.home-hero-copy h1 {
    margin: 0;
    color: #3197d3;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title-line,
.section-line {
    width: 52px;
    height: 3px;
    display: block;
    margin: 20px 0;
    background: #2c9bdd;
}

.home-hero-copy > p {
    max-width: 390px;
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.55;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 36px;
}

.portal-button {
    min-width: 235px;
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 13px 18px;
    border: 2px solid #2995d3;
    border-radius: 7px;
    text-decoration: none;
    transition:
        transform 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.portal-button:hover,
.portal-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    outline: none;
}

.portal-button-primary {
    background: rgba(5, 67, 111, 0.55);
    color: #ffffff;
}

.portal-button-primary:hover,
.portal-button-primary:focus {
    background: #075a91;
}

.portal-button-light {
    background: #ffffff;
    color: #123a58;
}

.portal-button-light:hover,
.portal-button-light:focus {
    background: #f0f8fc;
}

.portal-button-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 19px;
    font-weight: 800;
}

.portal-button-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    line-height: 1.2;
}

.portal-button-copy small {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.portal-button-copy strong {
    margin-top: 3px;
    font-size: 17px;
    text-transform: uppercase;
}

.portal-button-arrow {
    font-size: 32px;
    font-weight: 300;
}

/* =========================================================
   SECCIONES
   ========================================================= */

.home-section {
    padding: 90px 0;
}

.about-section {
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 68px;
}

.about-image-card {
    align-self: center;
    overflow: hidden;
    background: #ffffff;
    border-radius: 9px;
    box-shadow: 0 15px 38px rgba(19, 52, 72, 0.14);
}

.about-image-card img {
    width: 100%;
    height: auto;
    display: block;
}
.section-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #238ac7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.about-content h2,
.section-heading h2 {
    margin: 0;
    color: #12344f;
    font-size: 31px;
    font-weight: 800;
    line-height: 1.2;
}

.about-content p {
    margin: 0 0 15px;
    color: #4b5d69;
    font-size: 15px;
    line-height: 1.75;
}

.services-section {
    background: #f4f7f9;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-line-center {
    margin-right: auto;
    margin-left: auto;
}

.section-heading p {
    margin: 0;
    color: #60727f;
    font-size: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e1e8ec;
    border-radius: 10px;
    box-shadow: 0 9px 26px rgba(18, 52, 79, 0.08);
    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(18, 52, 79, 0.14);
}

.service-image {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: #f9fbfc;
}

.service-image img {
    max-width: 100%;
    max-height: 145px;
    object-fit: contain;
}

.service-card-body {
    min-height: 235px;
    padding: 24px;
}

.service-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-badge {
    width: 42px;
    height: 42px;
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    background: #1689ca;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.service-card h3 {
    margin: 0;
    color: #153b58;
    font-size: 17px;
    line-height: 1.25;
    text-transform: uppercase;
}

.service-card p {
    margin: 19px 0 0;
    color: #586974;
    font-size: 14px;
    line-height: 1.65;
}

.strengths-section {
    background: #ffffff;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.strength-card {
    position: relative;
    padding: 0 24px;
    text-align: center;
}

.strength-card + .strength-card {
    border-left: 1px solid #dbe4e9;
}

.strength-icon {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #082f4e;
    color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 9px 20px rgba(8, 47, 78, 0.18);
    font-size: 19px;
    font-weight: 800;
}

.strength-card h3 {
    margin: 20px 0 10px;
    color: #143a57;
    font-size: 16px;
    text-transform: uppercase;
}

.strength-card p {
    margin: 0;
    color: #61727d;
    font-size: 13px;
    line-height: 1.6;
}

/* =========================================================
   RESPONSIVE DEL INICIO
   ========================================================= */


@media screen and (min-width: 1600px) {

    .home-hero {
        height: 500px;
    }

}



@media screen and (max-width: 1050px) {

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .strengths-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .strength-card + .strength-card {
        border-left: none;
    }

}

@media screen and (max-width: 800px) {

    .home-hero {
        height: 560px;
    }

    .home-hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 72% center;
    }

    .home-hero-overlay {
        background: rgba(3, 25, 43, 0.82);
    }

    .home-hero-content {
        top: 50%;
        padding-top: 35px;
        padding-bottom: 35px;
    }

.home-eyebrow {
        font-size: 35px;
    }

    .home-hero-copy h1 {
        font-size: 23px;
    }

    .home-hero-copy > p {
        font-size: 18px;
    }
    
    .about-image-card img {
        width: 100%;
        height: auto;
    }
    .portal-button {
        width: 100%;
        max-width: 340px;
    }

    .home-section {
        padding: 65px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-card img {
        min-height: auto;
    }

    .services-grid,
    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .service-card-body {
        min-height: auto;
    }

    .strength-card {
        padding: 22px 12px;
        border-bottom: 1px solid #e1e8ec;
    }

}


.footer-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
}

.privacy-link {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-link:hover,
.privacy-link:focus {
    color: #73c2ee;
}

@media screen and (max-width: 800px) {

    .footer-copy {
        align-items: flex-start;
    }

}

.brand-image,
.brand img {
    width: auto;
    height: 42px;
    max-width: 310px;
    display: block;
    object-fit: contain;
}

/* =========================================================
   LOGIN DE PROVEEDORES
   ========================================================= */

.login-page {
    min-height: calc(100vh - 200px);
    padding: 72px 0;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(35, 138, 199, 0.12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f5f8fa 0%,
            #edf3f6 100%
        );
}

.login-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(380px, 0.85fr);
    align-items: center;
    gap: 86px;
}

.login-information {
    max-width: 610px;
}

.login-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #1689ca;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.login-information h1 {
    margin: 0;
    color: #12344f;
    font-size: 43px;
    font-weight: 800;
    line-height: 1.15;
}

.login-title-line {
    width: 58px;
    height: 4px;
    display: block;
    margin: 24px 0;
    background: #1689ca;
}

.login-description {
    max-width: 535px;
    margin: 0;
    color: #536875;
    font-size: 18px;
    line-height: 1.7;
}

.login-features {
    display: grid;
    gap: 22px;
    margin-top: 42px;
}

.login-feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.login-feature-number {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    background: #0b4268;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.login-feature strong {
    display: block;
    color: #153b58;
    font-size: 16px;
}

.login-feature p {
    margin: 5px 0 0;
    color: #687985;
    font-size: 14px;
    line-height: 1.55;
}

.login-card {
    padding: 38px;
    background: #ffffff;
    border: 1px solid #dce5ea;
    border-radius: 14px;
    box-shadow:
        0 22px 55px rgba(16, 45, 67, 0.14);
}

.login-card-header {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 30px;
}

.login-card-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    background: #075a91;
    color: #ffffff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.login-card-header h2 {
    margin: 0;
    color: #153b58;
    font-size: 25px;
    font-weight: 800;
}

.login-card-header p {
    margin: 5px 0 0;
    color: #6c7c87;
    font-size: 14px;
}

.login-message {
    margin-bottom: 22px;
    padding: 13px 15px;
    background: #fff2f2;
    color: #a82b2b;
    border: 1px solid #efc3c3;
    border-radius: 7px;
    font-size: 14px;
}

.login-form-group {
    margin-bottom: 22px;
}

.login-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #29485d;
    font-size: 14px;
    font-weight: 700;
}

.login-input {
    min-height: 50px;
    padding-right: 60px;
    font-size: 15px;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    padding: 5px 7px;
    background: transparent;
    color: #075a91;
    border: 0;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus {
    color: #033f68;
    outline: none;
}

.field-error {
    display: block;
    margin-top: 7px;
    color: #b42e2e;
    font-size: 12px;
    font-weight: 600;
}

.login-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 5px;
    padding: 12px 20px;
    background: #075a91;
    color: #ffffff;
    border: 1px solid #075a91;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition:
        background-color 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.login-submit:hover,
.login-submit:focus {
    background: #064c7b;
    box-shadow:
        0 10px 22px rgba(7, 90, 145, 0.2);
    outline: none;
}

.login-submit:active {
    transform: translateY(1px);
}

.login-submit:disabled {
    background: #7798ad;
    border-color: #7798ad;
    cursor: wait;
}

.login-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    color: #526b7b;
    font-size: 13px;
    font-weight: 600;
}

.loading-spinner {
    width: 17px;
    height: 17px;
    display: inline-block;
    border: 2px solid #c8d9e3;
    border-top-color: #075a91;
    border-radius: 50%;
    animation: loginSpinner 700ms linear infinite;
}

@keyframes loginSpinner {

    to {
        transform: rotate(360deg);
    }

}

.login-help {
    margin: 22px 0 0;
    padding-top: 18px;
    color: #778690;
    border-top: 1px solid #e2e9ed;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

@media screen and (max-width: 900px) {

    .login-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .login-information {
        max-width: 700px;
    }

    .login-card {
        width: 100%;
        max-width: 560px;
    }

}

@media screen and (max-width: 600px) {

    .login-page {
        padding: 45px 0;
    }

    .login-information h1 {
        font-size: 34px;
    }

    .login-description {
        font-size: 16px;
    }

    .login-features {
        margin-top: 32px;
    }

    .login-card {
        padding: 28px 22px;
        border-radius: 10px;
    }

}


/* =========================================================
   PORTAL DE PROVEEDORES
   ========================================================= */

.provider-portal {
    min-height: calc(100vh - 200px);
    padding: 70px 0 85px;
    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(35, 138, 199, 0.09),
            transparent 28%
        ),
        #f4f7f9;
}

/* =========================================================
   ENCABEZADO DEL PORTAL
   ========================================================= */

.provider-portal-header {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, 380px);
    align-items: center;
    gap: 55px;
    margin-bottom: 58px;
}

.provider-heading {
    max-width: 680px;
}

.provider-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #1689ca;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.provider-heading h1 {
    margin: 0;
    color: #12344f;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
}

.provider-heading p {
    max-width: 610px;
    margin: 20px 0 0;
    color: #5b6f7c;
    font-size: 17px;
    line-height: 1.65;
}

/* =========================================================
   DATOS DE LA SESIÓN
   ========================================================= */

.provider-session-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 28px;
    background: #ffffff;
    border: 1px solid #dae4e9;
    border-left: 5px solid #1689ca;
    border-radius: 10px;
    box-shadow:
        0 12px 30px rgba(16, 45, 67, 0.09);
}

.provider-session-label {
    color: #71828d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.provider-session-rfc {
    margin-top: 7px;
    color: #123b59;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.provider-session-time {
    margin-top: 6px;
    color: #71828d;
    font-size: 12px;
}

.provider-logout {
    margin-top: 17px;
    padding: 7px 0;
    color: #075a91;
    border: 0;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.provider-logout:hover,
.provider-logout:focus {
    color: #043f68;
    text-decoration: underline;
}

/* =========================================================
   ENCABEZADO DE LOS MÓDULOS
   ========================================================= */

.provider-section-heading {
    margin-bottom: 30px;
}

.provider-section-heading h2 {
    margin: 0;
    color: #153b58;
    font-size: 28px;
    font-weight: 800;
}

.provider-section-heading p {
    margin: 8px 0 0;
    color: #697b86;
    font-size: 14px;
}

/* =========================================================
   TARJETAS DE MÓDULOS
   ========================================================= */

.provider-modules-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.provider-module-card {
    position: relative;
    min-height: 185px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    overflow: hidden;
    background: #ffffff;
    color: inherit;
    border: 1px solid #dce5ea;
    border-radius: 12px;
    box-shadow:
        0 10px 28px rgba(16, 45, 67, 0.07);
    text-align: left;
    text-decoration: none;
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease;
}

.provider-module-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: #1689ca;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 170ms ease;
}

.provider-module-card:hover,
.provider-module-card:focus {
    color: inherit;
    border-color: #b7d5e6;
    box-shadow:
        0 18px 40px rgba(16, 45, 67, 0.13);
    transform: translateY(-4px);
    outline: none;
}

.provider-module-card:hover::before,
.provider-module-card:focus::before {
    transform: scaleX(1);
}

.provider-module-number {
    width: 52px;
    height: 52px;
    display: inline-flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    background: #0b4268;
    color: #ffffff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
}

.provider-module-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.provider-module-content strong {
    color: #143b59;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
}

.provider-module-content > span {
    margin-top: 12px;
    color: #627580;
    font-size: 14px;
    line-height: 1.65;
}

.provider-module-arrow {
    align-self: center;
    color: #1689ca;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
}

/* =========================================================
   MENSAJES DEL PORTAL
   ========================================================= */

.portal-message {
    margin-bottom: 30px;
    padding: 15px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.portal-message-info {
    background: #eef8fd;
    color: #125a82;
    border-color: #bfdeed;
}

.portal-message-error {
    background: #fff1f1;
    color: #a72e2e;
    border-color: #efc5c5;
}

.portal-message-success {
    background: #eef9f2;
    color: #216f3d;
    border-color: #bddfc8;
}

/* =========================================================
   INFORMACIÓN DE APOYO
   ========================================================= */

.provider-support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 38px;
    padding: 24px 28px;
    background: #0d344f;
    color: #ffffff;
    border-radius: 10px;
}

.provider-support strong {
    display: block;
    font-size: 16px;
}

.provider-support p {
    margin: 6px 0 0;
    color: #c6d8e3;
    font-size: 13px;
    line-height: 1.55;
}

.provider-support-badge {
    flex: 0 0 auto;
    padding: 8px 13px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* =========================================================
   RESPONSIVE DEL PORTAL DE PROVEEDORES
   ========================================================= */

@media screen and (max-width: 900px) {

    .provider-portal-header {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .provider-session-card {
        max-width: 480px;
    }

}

@media screen and (max-width: 700px) {

    .provider-portal {
        padding: 50px 0 65px;
    }

    .provider-heading h1 {
        font-size: 34px;
    }

    .provider-modules-grid {
        grid-template-columns: 1fr;
    }

    .provider-module-card {
        min-height: 0;
        padding: 25px 22px;
    }

    .provider-support {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* =========================================================
   NOTA DE ORGANIZACIÓN
   Los estilos privados de proveedores se encuentran en:
   - Proveedores/ProveedorMaster.css
   - Proveedores/ProveedorCommon.css
   - Proveedores/Facturas.css
   - Proveedores/CSF.css
   ========================================================= */

