/* ── Page title ── */
.account-welcome {
    padding-top: 50px;
    text-align: center;
}
.account-welcome h1 {
    font-size: 52px;
    margin: 5px;
}
.account-welcome p {
    font-size: 20px;
    margin: 5px;
    color: #555;
}

/* ── Layout ── */
.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 40px auto 60px;
    padding: 0 40px;
    box-sizing: border-box;
}

.account-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    padding: 32px;
}

.account-card.full-width {
    grid-column: 1 / -1;
}

.card-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #888;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

/* ── Info rows ── */
.info-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}
.info-row:last-of-type { border-bottom: none; }

.info-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #aaa;
}

.info-value {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
}

/* ── Form fields ── */
.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.field-group:last-of-type { margin-bottom: 0; }

.field-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #aaa;
}

.field-group input {
    padding: 10px 14px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #1a1a1a;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.field-group input:focus {
    outline: none;
    border-color: #e2a45a;
    box-shadow: 0 0 0 3px rgba(226,164,90,0.15);
}

/* ── Buttons ── */
.btn-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-primary {
    flex: 1;
    padding: 11px;
    background-color: #e2a45a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    text-align: center;
}

.btn-primary:hover { background-color: #c98c3e; }

.btn-secondary {
    flex: 1;
    padding: 11px;
    background-color: #f0f0f0;
    color: #444;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.15s ease;
}

.btn-secondary:hover { background-color: #e2e2e2; }

.btn-logout {
    width: 100%;
    padding: 11px;
    background-color: #fff;
    color: #b91c1c;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    text-align: center;
}

.btn-logout:hover {
    background-color: #fef2f2;
}

/* ── Messages ── */
.msg-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.msg-list li {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.msg-list .success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.msg-list .error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; }

/* ── Avatar initials ── */
.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #e2a45a;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* ── Locations ── */
.location-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
    gap: 16px;
}
.location-row:last-of-type { border-bottom: none; }

.location-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}
.location-mid {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
    font-family: 'Courier New', monospace;
}
.location-date {
    font-size: 12px;
    color: #aaa;
    white-space: nowrap;
}
.badge-pending {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 99px;
    background: #F5EDD8;
    color: #A07830;
    white-space: nowrap;
}
.badge-verified {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 99px;
    background: #E6F0EC;
    color: #4A7C6B;
    white-space: nowrap;
}

/* ── Add location form ── */
#add-location-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
#add-location-form .field-group { margin-bottom: 14px; }
#add-location-form .field-group:last-of-type { margin-bottom: 0; }

.btn-add-loc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #1B3A5C;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-add-loc:hover { background: #14293f; }

.btn-upgrade {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #f7f7f5;
    color: #A07830;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: 1px solid #e8dcc8;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}
.btn-upgrade:hover { background: #F5EDD8; }

/* ── Responsive ── */
@media (max-width: 700px) {
    .account-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        margin: 24px auto 40px;
    }
    .account-card.full-width { grid-column: 1; }
    .account-welcome h1 { font-size: 34px; }
    .account-welcome p  { font-size: 17px; }
}

/* ── Password change form (PasswordInput component + error banner) ── */
.form-error-banner { background: #fef2f2; border: 1px solid #fca5a5; border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; }
.form-error-banner p { margin: 0; font-size: 13px; color: #b91c1c; font-weight: 500; }
.password-wrap { position: relative; display: flex; align-items: center; }
.password-wrap input { padding-right: 42px !important; }
.eye-btn { position: absolute; right: 12px; background: none; border: none; cursor: pointer; padding: 0; color: #aaa; display: flex; align-items: center; transition: color 0.15s ease; }
.eye-btn:hover { color: #555; }
