﻿.accountContainer{
    width:min(1180px,calc(100% - 40px));
    margin:auto;
}

.accountPage{
    min-height:70vh;
    padding:55px 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f4f7fa;
}

.authCard{
    width:100%;
    max-width:470px;
    padding:32px;
    border:1px solid #dce6ed;
    border-radius:16px;
    background:white;
}

.authEyebrow,
.accountEyebrow{
    color:#087cf0;
    font-size:12px;
    font-weight:900;
    letter-spacing:2px;
}

.authHeading h1{
    margin:8px 0 5px;
    font-size:32px;
}

.authHeading p{
    color:#718695;
}

.authForm label{
    display:block;
    margin-bottom:15px;
}

.authForm label > span{
    display:block;
    margin-bottom:6px;
    font-size:14px;
    font-weight:800;
}

.authForm input[type="email"],
.authForm input[type="password"]{
    width:100%;
    height:47px;
    padding:0 12px;
    border:1px solid #cbd9e3;
    border-radius:9px;
    font-size:16px;
}

.authRemember{
    display:flex !important;
    align-items:center;
    gap:8px;
}

.authPrimary,
.authSecondary{
    width:100%;
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:9px;
    font-size:16px;
    font-weight:900;
    text-decoration:none;
}

.authPrimary{
    background:#087cf0;
    color:white;
}

.authSecondary{
    background:#eef5fb;
    color:#1769aa;
}

.authFooter,
.authDivider{
    margin-top:18px;
    text-align:center;
}

.authError,
.authValidation.validation-summary-errors,
.trackingError{
    padding:12px 14px;
    margin-bottom:15px;
    border-radius:8px;
    background:#fff0f2;
    color:#c92a43;
}

.authValidation.validation-summary-valid,
.authValidation:empty{
    display:none;
}

.accountHero{
    padding:35px 0;
    background:#f1f6fa;
    border-bottom:1px solid #dae5ec;
}

.accountHero .accountContainer{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.accountHero h1{
    margin:7px 0 3px;
    font-size:34px;
}

.logoutCustomer{
    min-height:40px;
    padding:0 14px;
    border:1px solid #c9d7e1;
    border-radius:8px;
    background:white;
}

.accountBody{
    padding-top:30px;
    padding-bottom:65px;
}

.customerStats{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-bottom:20px;
}

.customerStats article{
    padding:20px;
    border:1px solid #dce5eb;
    border-radius:13px;
    background:white;
}

.customerStats strong{
    display:block;
    margin-top:7px;
    font-size:28px;
}

.ordersPanel{
    overflow:hidden;
    border:1px solid #dce5eb;
    border-radius:14px;
    background:white;
}

.ordersHead{
    padding:16px 19px;
    display:flex;
    justify-content:space-between;
    border-bottom:1px solid #e4ebef;
}

.customerOrder{
    padding:18px;
    border-top:1px solid #edf1f4;
}

.orderTop{
    display:flex;
    justify-content:space-between;
}

.orderStatusGrid{
    margin:15px 0;
    padding:13px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    background:#f6f9fb;
    border-radius:9px;
}

.orderDetailButton{
    color:#087cf0;
    font-weight:850;
}

.orderDetailPage{
    padding-top:30px;
    padding-bottom:70px;
}

.orderDetailCard{
    padding:24px;
    border:1px solid #dce5eb;
    border-radius:15px;
    background:white;
}

.orderDetailHeader{
    display:flex;
    justify-content:space-between;
}

.clientItem{
    padding:12px 0;
    display:flex;
    justify-content:space-between;
    border-top:1px solid #edf1f4;
}

.detailSummary{
    margin-top:18px;
    margin-left:auto;
    width:min(350px,100%);
}

.detailSummary > div{
    display:flex;
    justify-content:space-between;
    padding:8px 0;
}

.trackingHero{
    padding:40px 0;
    background:#f1f6fa;
}

.trackingBody{
    padding-top:30px;
    padding-bottom:70px;
}

.trackingForm{
    padding:20px;
    display:grid;
    grid-template-columns:1fr 1fr 180px;
    gap:10px;
    align-items:end;
    border:1px solid #dce5eb;
    border-radius:13px;
    background:white;
}

.trackingForm input{
    width:100%;
    height:44px;
}

.trackingForm button{
    height:44px;
    border:0;
    border-radius:8px;
    background:#087cf0;
    color:white;
}

.trackingResult{
    margin-top:18px;
    padding:22px;
    border:1px solid #dce5eb;
    border-radius:13px;
    background:white;
}

.trackingResultTop{
    display:flex;
    justify-content:space-between;
}

.trackingInfo{
    margin-top:20px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
}

@media(max-width:760px){
    .customerStats,
    .orderStatusGrid,
    .trackingInfo,
    .trackingForm{
        grid-template-columns:1fr;
    }
}

.passwordHelp{
    margin-bottom:18px;
    padding:12px 14px;
    border-radius:8px;
    background:#eef6fc;
    color:#486a80;
    font-size:13px;
    line-height:1.5;
}


/* ==========================================================
   SEGUIMIENTO VISUAL DEL PEDIDO
   ========================================================== */

.clientProgress{
    margin:28px 0 32px;
    padding:22px 15px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:0;
    border:1px solid #e0e8ed;
    border-radius:12px;
    background:#f9fbfc;
}

.clientProgressStep{
    position:relative;
    flex:1;
    text-align:center;
}

.clientProgressStep:not(:last-child):after{
    content:"";
    position:absolute;
    top:20px;
    left:50%;
    width:100%;
    height:3px;
    background:#dce5eb;
    z-index:0;
}

.clientProgressStep.completed:not(:last-child):after{
    background:#087cf0;
}

.progressCircle{
    position:relative;
    z-index:2;
    width:42px;
    height:42px;
    margin:0 auto 8px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#dce5eb;
    color:#708391;
    font-size:14px;
    font-weight:900;
}

.clientProgressStep.completed .progressCircle{
    background:#087cf0;
    color:white;
}

.clientProgressStep.current .progressCircle{
    box-shadow:
        0 0 0 5px #087cf020;
}

.clientProgressStep strong{
    position:relative;
    z-index:2;
    display:block;
    padding:0 5px;
    color:#6e8190;
    font-size:11px;
}

.clientProgressStep.completed strong{
    color:#174a6b;
}

.clientCancelled{
    margin:22px 0;
    padding:17px;
    border:1px solid #efcbd1;
    border-radius:9px;
    background:#fff3f5;
    color:#b72940;
}

.clientCancelled strong{
    font-size:16px;
}

.clientCancelled p{
    margin:5px 0 0;
}

@media(max-width:700px){

    .clientProgress{
        flex-direction:column;
        align-items:stretch;
        gap:10px;
    }

    .clientProgressStep{
        min-height:45px;
        display:grid;
        grid-template-columns:45px 1fr;
        align-items:center;
        text-align:left;
    }

    .clientProgressStep:not(:last-child):after{
        top:40px;
        left:20px;
        width:3px;
        height:25px;
    }

    .progressCircle{
        margin:0;
    }

    .clientProgressStep strong{
        font-size:13px;
    }
}

