/* /account/ page — login + register form. Brand: #9A6E56 brown, Inter font. */

.aiv2-account-card {
    max-width: 520px;
    margin: 60px auto;
    padding: 40px 36px 32px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    font-family: 'Inter', sans-serif;
    color: #2C363D;
}
@media (max-width: 600px) {
    .aiv2-account-card { margin: 24px 12px; padding: 28px 22px; border-radius: 12px; }
}
.aiv2-account-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #2C363D;
}
.aiv2-account-sub {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 24px;
}
.aiv2-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 22px;
    border-bottom: 1px solid #E5E7EB;
}
.aiv2-tab {
    flex: 1;
    background: none;
    border: 0;
    padding: 12px 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.aiv2-tab:hover { color: #2C363D; }
.aiv2-tab.is-active {
    color: #9A6E56;
    border-bottom-color: #9A6E56;
}
.aiv2-form { display: flex; flex-direction: column; gap: 14px; }
.aiv2-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}
.aiv2-form input {
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid #D1D5DB;
    border-radius: 10px;
    background: #FAFAFA;
    color: #2C363D;
    transition: border-color .15s, background .15s;
    box-sizing: border-box;
}
.aiv2-form input:focus {
    outline: none;
    border-color: #9A6E56;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(154, 110, 86, 0.15);
}
.aiv2-submit {
    margin-top: 8px;
    padding: 14px 20px;
    background: #9A6E56;
    color: #fff;
    border: 0;
    border-radius: 100px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform .15s, opacity .15s;
}
.aiv2-submit:hover { opacity: 0.92; }
.aiv2-submit:active { transform: translateY(1px); }
.aiv2-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.aiv2-error {
    display: none;
    padding: 10px 14px;
    margin-bottom: 14px;
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    border-radius: 8px;
    color: #991B1B;
    font-size: 14px;
}
.aiv2-tiny {
    font-size: 12px;
    color: #6B7280;
    margin: 6px 0 0;
}
.aiv2-tiny a { color: #9A6E56; text-decoration: none; }
.aiv2-tiny a:hover { text-decoration: underline; }
.aiv2-account-foot {
    text-align: center;
    margin: 24px 0 0;
    font-size: 14px;
    color: #6B7280;
}
.aiv2-account-foot a { color: #9A6E56; font-weight: 500; text-decoration: none; }
.aiv2-account-foot a:hover { text-decoration: underline; }

/* page-account.php specific polish */
.aiv2-account-main {
    background: #F5F7FA;
    min-height: calc(100vh - 200px);
    padding: 1px 0; /* triggers margin collapse so child margins don't escape */
}
.aiv2-account-page-wrap {
    padding: 0 16px;
}
/* tighter card spacing on this page */
.aiv2-account-main .aiv2-account-card {
    margin-top: 50px;
    margin-bottom: 50px;
}
@media (max-width: 600px) {
    .aiv2-account-main .aiv2-account-card { margin-top: 24px; margin-bottom: 24px; }
}
