/* =====================================================
   MARATHON CLIENT PORTAL
   MY ACCOUNT PREMIUM
   ===================================================== */

body .mk-client-form.mk-account {
    --mk-gold: #d9b86c;
    --mk-gold-light: #f3d99a;
    --mk-navy: #081729;

    position: relative;
    width: min(100%, 1180px);
    max-width: 1180px;
    margin: 45px auto 70px;
    padding: clamp(22px, 4vw, 48px);

    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(56, 116, 180, .20),
            transparent 35%
        ),
        linear-gradient(145deg, #0c2038, #061321);

    border: 1px solid rgba(217, 184, 108, .20);
    border-radius: 26px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .20),
        inset 0 1px 0 rgba(255, 255, 255, .05);

    color: #e8eff8;
    overflow: hidden;
}

/* Encabezado principal */

.mk-account > h2 {
    margin: 0 0 15px;
    color: #fff;
    font-size: clamp(29px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -.8px;
}

.mk-account > h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 3px;
    margin-top: 15px;
    border-radius: 5px;
    background: linear-gradient(
        90deg,
        var(--mk-gold),
        var(--mk-gold-light)
    );
}

.mk-account > p {
    color: #aebed1;
    font-size: 16px;
    margin-bottom: 32px;
}

.mk-account > p strong {
    color: var(--mk-gold-light);
}

/* Dashboard */

.mk-account .mk-client-dashboard {
    margin-top: 30px;
}

.mk-account .mk-dashboard-heading {
    margin-bottom: 26px;
}

.mk-account .mk-dashboard-heading h2 {
    color: #fff;
    font-size: 25px;
    font-weight: 750;
}

.mk-account .mk-dashboard-heading p {
    color: #9eb0c7;
}

/* Tarjetas */

.mk-account .mk-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 40px;
}

.mk-account .mk-dashboard-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;

    min-width: 0;
    padding: 26px 21px;

    background: linear-gradient(
        155deg,
        rgba(30, 57, 84, .90),
        rgba(12, 30, 49, .96)
    );

    border: 1px solid rgba(217, 184, 108, .16);
    border-radius: 19px;

    color: #eaf2fb;
    text-decoration: none;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.mk-account .mk-dashboard-card:hover {
    transform: translateY(-5px);
    border-color: rgba(217, 184, 108, .65);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, .22),
        0 0 25px rgba(217, 184, 108, .07);
}

.mk-account .mk-dashboard-card:focus-visible {
    outline: 2px solid var(--mk-gold-light);
    outline-offset: 4px;
}

.mk-account .mk-dashboard-icon {
    display: grid;
    place-items: center;

    width: 52px;
    height: 52px;

    margin-bottom: 10px;

    background: rgba(217, 184, 108, .10);
    border: 1px solid rgba(217, 184, 108, .20);
    border-radius: 15px;

    font-size: 25px;
}

.mk-account .mk-dashboard-card strong {
    color: #fff;
    font-size: 17px;
    font-weight: 750;
}

.mk-account .mk-dashboard-card span:not(.mk-dashboard-icon) {
    color: var(--mk-gold-light);
    font-size: 15px;
}

.mk-account .mk-dashboard-card small {
    color: #9eb0c7;
    font-size: 12px;
    line-height: 1.5;
}

/* Estimados */

.mk-account .mk-dashboard-estimates {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(217, 184, 108, .16);
}

.mk-account .mk-dashboard-estimates > h2 {
    color: #fff;
    font-size: 25px;
}

.mk-account .mk-dashboard-estimates > p {
    color: #9eb0c7;
}

.mk-account .mk-dashboard-estimate-card {
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 17px;
    padding: 22px;
    margin-top: 17px;
}

.mk-account .mk-dashboard-estimate-card h3 {
    color: #fff;
}

/* Información personal */

.mk-account .mk-account-details {
    margin-top: 35px;
    padding: 28px;

    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(217, 184, 108, .16);
    border-radius: 20px;
}

.mk-account .mk-account-details::before {
    content: "ACCOUNT INFORMATION";
    display: block;

    margin-bottom: 23px;

    color: var(--mk-gold-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.mk-account .mk-account-details p {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    margin: 0;
    padding: 15px 0;

    border-bottom: 1px solid rgba(255, 255, 255, .07);

    color: #e8eff8;
    overflow-wrap: anywhere;
}

.mk-account .mk-account-details p:last-child {
    border-bottom: 0;
}

.mk-account .mk-account-details strong {
    color: #9eb0c7;
    font-weight: 500;
}

/* Cerrar sesión */

.mk-account .mk-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 27px;
    padding: 13px 25px;

    color: var(--mk-gold-light);
    background: rgba(217, 184, 108, .08);

    border: 1px solid rgba(217, 184, 108, .35);
    border-radius: 12px;

    font-weight: 700;
    text-decoration: none;

    transition: all .2s ease;
}

.mk-account .mk-logout:hover {
    background: var(--mk-gold);
    color: #081729;
}

/* Responsive */

@media (max-width: 1000px) {
    .mk-account .mk-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body .mk-client-form.mk-account {
        margin: 20px auto 40px;
        padding: 22px 16px;
        border-radius: 18px;
    }

    .mk-account .mk-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mk-account .mk-dashboard-card {
        padding: 22px;
    }

    .mk-account .mk-account-details {
        padding: 20px 16px;
    }

    .mk-account .mk-account-details p {
        flex-direction: column;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mk-account .mk-dashboard-card,
    .mk-account .mk-logout {
        transition: none;
    }
}
/* ==========================================
   MY ACCOUNT - FIX PHONE TEXT COLOR
   ========================================== */

.mk-account .mk-account-details p {
    color: #ffffff !important;
}

.mk-account .mk-account-details p a,
.mk-account .mk-account-details p span {
    color: #ffffff !important;
}
