/* ============================
   MODAL - MINHA CONTA
============================ */

.account-modal {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.account-box {
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    background: linear-gradient(180deg, #ffffff, #f7f8fa);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: fadeUp 0.4s ease;
}

/* ============================
   FECHAR
============================ */

.account-close {
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 26px;
    cursor: pointer;
    color: #888;
    transition: color 0.3s;
}

.account-close:hover {
    color: #000;
}

/* ============================
   ABAS
============================ */

.account-tabs {
    display: flex;
    border-bottom: 1px solid #e2e4e8;
    background: #fff;
}

.tab-btn {
    flex: 1;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #3a7bd5;
    border-bottom: 3px solid #3a7bd5;
}

/* ============================
   CONTEÚDO
============================ */

.tab-content {
    display: none;
    padding: 24px;
    overflow-y: auto;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #222;
}

/* ============================
   FORMULÁRIO
============================ */

#accountForm label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

#accountForm input {
    width: 100%;
    padding: 11px 14px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid #dcdfe4;
    font-size: 14px;
    transition: border 0.2s, box-shadow 0.2s;
}

#accountForm input:focus {
    outline: none;
    border-color: #3a7bd5;
    box-shadow: 0 0 0 2px rgba(58, 123, 213, 0.15);
}

#accountForm input[disabled] {
    background: #f1f3f6;
    color: #888;
}

/* ============================
   DIVISOR
============================ */

#accountForm hr {
    border: none;
    height: 1px;
    background: #e3e6eb;
    margin: 22px 0;
}

/* ============================
   BOTÃO
============================ */

.account-btn {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #3a7bd5, #5fa3ff);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.account-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(58, 123, 213, 0.35);
}

/* ============================
   MENSAGENS
============================ */

#accountMsg {
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
}

/* ============================
   ANIMAÇÃO
============================ */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
   MOBILE
============================ */

@media (max-width: 480px) {

    .account-box {
        max-width: 94%;
        border-radius: 16px;
    }

    .tab-content {
        padding: 18px;
    }
}
