
/* VEXA - AREA DOS CLIENTES */

:root {
    --blue: #2b8bc8;
    --dark: #193b53;
    --pale: #e9f5ff;
    --text: #253c4a;
    --line: #e1edf5;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: #f6fbff;
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

/* CABECALHO */

.account-header {
    height: 90px;
    max-width: 1220px;
    margin: auto;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.account-logo img {
    width: 114px;
    max-height: 64px;
    object-fit: contain;
}

.account-back {
    font-size: 14px;
    color: #4b7791;
}

.account-back:hover {
    text-decoration: underline;
}

/* TELA DE CADASTRO E LOGIN */

.account-main {
    max-width: 1220px;
    margin: 25px auto 60px;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.account-promo {
    min-height: 600px;
    border-radius: 32px;
    padding: 58px 56px;
    background: linear-gradient(
        135deg,
        #d9edfb,
        #a2d0ef
    );
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.account-promo h1 {
    font-size: clamp(38px, 4.5vw, 67px);
    letter-spacing: -0.06em;
    line-height: 1.08;
    margin: 30px 0 18px;
    color: #173d58;
}

.account-promo h1 em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: #237db8;
}

.account-promo p {
    max-width: 340px;
    line-height: 1.7;
    font-size: 15px;
    margin: 0;
}

.account-promo img {
    width: 270px;
    max-width: 80%;
    margin: auto auto 2px;
    border-radius: 20px;
    box-shadow: 0 20px 55px #266a9940;
}

.kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #2c88bc;
}

/* FORMULARIOS */

.account-card,
.account-panel {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 18px 60px #234d6b10;
    padding: 45px 42px;
}

.account-card {
    max-width: 480px;
    width: 100%;
    justify-self: center;
}

.account-card h2,
.account-panel h2 {
    font-size: 32px;
    color: var(--dark);
    margin: 12px 0;
}

.card-subtitle {
    color: #708493;
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 28px;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-form label {
    font-size: 13px;
    font-weight: 700;
    color: #355166;
    margin-top: 8px;
}

.account-form input {
    background: #f8fbff;
    border: 1px solid #d8e9f5;
    border-radius: 12px;
    height: 48px;
    padding: 12px 14px;
    font-size: 14px;
    min-width: 0;
}

.account-form input:focus {
    outline: 2px solid #80c2ec;
    outline-offset: 1px;
}

.primary {
    margin-top: 17px;
    background: #2785bc;
    border: 0;
    color: white;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
}

.primary:hover {
    background: #176f9d;
}

.switch-auth,
.account-note {
    text-align: center;
    font-size: 13px;
    color: #687f8f;
    line-height: 1.6;
}

.switch-auth {
    margin: 23px 0 14px;
}

.switch-auth a,
.account-note a {
    color: #1778b4;
    font-weight: 700;
}

.alert {
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 13px;
    margin: 15px 0;
}

.alert.error {
    background: #ffebea;
    color: #b33030;
}

.alert.success {
    background: #e3f7ef;
    color: #1e7551;
}

/* PAGINA MINHA CONTA */

.my-account {
    max-width: 1220px;
    margin: 30px auto 80px;
    padding: 0 28px;
}

.my-account-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 15px 0 30px;
}

.my-account-title h1 {
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.05em;
    color: var(--dark);
    margin: 6px 0;
}

.my-account-title h1 span {
    color: #66addf;
}

.my-account-title p {
    color: #627d8e;
}

.outline {
    background: #fff;
    color: #397b9f;
    padding: 13px 19px;
    border-radius: 10px;
    border: 1px solid #cce3f2;
    cursor: pointer;
}

.account-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 22px;
}

.account-panel h2 {
    font-size: 26px;
}

.account-panel small {
    font-size: 12px;
    color: #8498a4;
}

.orders-panel > .account-note {
    text-align: left;
}

.order-entry {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.order-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.order-head span {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 9px;
    background: #e7f4ff;
    color: #387ea6;
    border-radius: 10px;
}

.order-entry ul {
    padding-left: 17px;
    font-size: 13px;
    line-height: 1.9;
    color: #58707f;
}

.no-orders {
    border: 1px dashed #b7d5e8;
    background: #f7fbfe;
    padding: 28px;
    border-radius: 14px;
    color: #688090;
    font-size: 13px;
    line-height: 1.8;
}

/* CELULARES E TABLETS */

@media (max-width: 850px) {
    .account-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .account-promo {
        min-height: 280px;
        padding: 30px;
    }

    .account-promo h1 {
        font-size: 38px;
        margin: 15px 0;
    }

    .account-promo img {
        display: none;
    }

    .account-card {
        max-width: none;
    }

    .account-layout {
        grid-template-columns: 1fr;
    }

    .my-account-title {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .account-header {
        padding: 10px 17px;
    }

    .account-main,
    .my-account {
        padding: 0 14px;
    }

    .account-card,
    .account-panel {
        padding: 28px 20px;
    }

    .account-promo {
        min-height: 220px;
    }

    .account-promo h1 {
        font-size: 32px;
    }
}
/* ===== AJUSTE VISUAL FINAL - LOGIN / CADASTRO CLIENTE ===== */

.account-main{
    align-items: stretch;
}

.account-promo{
    min-height: 620px;
    border-radius: 36px;
    padding: 58px 54px 42px;
    background: linear-gradient(145deg, #dceffc 0%, #eef8ff 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.account-promo::before{
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(39, 143, 218, 0.10);
    top: 120px;
    right: -80px;
}

.account-promo .kicker{
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.60);
    color: #2c88bc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.account-promo h1{
    position: relative;
    z-index: 2;
    max-width: 440px;
    font-size: clamp(44px, 4.8vw, 68px);
    letter-spacing: -0.06em;
    line-height: 1.05;
    margin: 22px 0 16px;
    color: #173d58;
}

.account-promo h1 em{
    font-family: Georgia, serif;
    font-weight: 400;
    color: #237db8;
}

.account-promo p{
    position: relative;
    z-index: 2;
    max-width: 430px;
    line-height: 1.75;
    font-size: 16px;
    color: #527086;
    margin: 0;
}

.account-promo img{
    position: relative;
    z-index: 2;
    width: min(340px, 72%);
    display: block;
    margin: 26px auto 8px;
    padding: 14px;
    background: rgba(255,255,255,.35);
    border: 4px solid rgba(255,255,255,.85);
    border-radius: 32px;
    box-shadow: 0 24px 60px rgba(38, 106, 153, 0.18);
    transform: rotate(-4deg);
}

@media (max-width: 850px){
    .account-promo{
        min-height: auto;
        padding: 34px 28px;
    }

    .account-promo::before{
        width: 360px;
        height: 360px;
        top: 140px;
        right: -100px;
    }

    .account-promo h1{
        font-size: 40px;
        margin: 18px 0 14px;
    }

    .account-promo p{
        font-size: 15px;
    }

    .account-promo img{
        width: min(260px, 82%);
        margin-top: 22px;
        transform: rotate(-3deg);
    }
}

@media (max-width: 520px){
    .account-promo{
        padding: 28px 20px;
        border-radius: 24px;
    }

    .account-promo h1{
        font-size: 33px;
    }

    .account-promo p{
        font-size: 14px;
    }
}