/* Account area: integrated into site shell (header/footer + earth background). */

.account-shell {
    /* Keep the same comfortable horizontal padding as `.main-content` */
    padding: 22px 22px 26px;
}

.account-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.account-page-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
    color: #111;
}

.account-page-subtitle {
    margin: 0.35rem 0 0;
    color: #444;
    line-height: 1.6;
    font-size: 0.95rem;
}

.account-top {
    padding: 8px 0 12px;
}

.account-top-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 18px 18px 14px;
    text-align: center;
}

.account-top-lead {
    margin: 0 auto 1.25rem;
    max-width: 46rem;
    line-height: 1.8;
    color: #333;
}

.account-panel {
    padding: 1.6rem 1.25rem;
    border: 1px dashed rgba(0, 0, 0, 0.18);
    border-radius: 14px;
    color: #333;
    background: rgba(255, 255, 255, 0.25);
    /* NOTE: avoid backdrop-filter to prevent glyph-drop issues on some systems */
    backdrop-filter: none;
}

.account-panel--center {
    text-align: center;
}

.account-panel--content {
    padding: 1.35rem 1.25rem;
}

.account-top-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.account-top-links {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.account-link-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    background: rgba(255, 255, 255, 0.6);
    color: #111;
    font-weight: 500;
    font-size: 0.92rem;
    text-decoration: none;
}
.account-link-chip:hover {
    background: rgba(255, 255, 255, 0.78);
    color: #0b0b0d;
}
.account-link-chip--danger {
    border-color: rgba(180, 40, 40, 0.35);
}
.account-link-chip--danger:hover {
    border-color: rgba(180, 40, 40, 0.55);
}

.account-card {
    /* inner surface (similar feel to `.blog-empty`) */
    background: rgba(255, 255, 255, 0.25) !important; /* override bootstrap `.card` */
    border: 1px dashed rgba(0, 0, 0, 0.18) !important; /* override bootstrap `.card` */
    box-shadow: none;
    border-radius: 14px;
}

.account-card .card-body {
    padding: 1.6rem 1.25rem;
}

.account-shell .form-group {
    margin-bottom: 1rem;
}

.account-shell .btn-block {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.account-form-links {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
}

.account-form-links a {
    display: inline-block;
    color: #0a58ca;
    text-decoration: none;
    font-weight: 500;
}
.account-form-links a:hover {
    color: #084298;
    text-decoration: underline;
}

.account-card .card-title,
.account-shell h1,
.account-shell h2,
.account-shell h3,
.account-shell h4,
.account-shell h5 {
    color: #111;
}

.account-shell label,
.account-shell small,
.account-shell p {
    color: #333;
}

.account-shell a:not(.btn) {
    color: #0a58ca;
}

.account-shell a:not(.btn):hover {
    color: #084298;
}

.account-shell .list-group-item {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(0, 0, 0, 0.08);
}

.account-shell .list-group-item a {
    color: #111;
    text-decoration: none;
}

.account-shell .list-group-item a:hover {
    color: #0b0b0d;
    text-decoration: none;
}

.account-shell .btn-primary {
    background: #81ba4c;
    border-color: #81ba4c;
    color: #fff !important;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.account-shell .btn-primary:hover {
    background: #9be35a;
    border-color: #9be35a;
    color: #fff !important;
}

.account-shell .btn-outline-primary {
    border-color: rgba(0, 0, 0, 0.22);
    color: #111;
}

.account-shell .btn-outline-primary:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #0b0b0d;
}

.account-shell .form-control {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(0, 0, 0, 0.18);
    color: #111;
}

.account-shell .form-control::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.account-shell .form-control:focus {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(129, 186, 76, 0.75);
    box-shadow: 0 0 0 0.2rem rgba(129, 186, 76, 0.16);
    color: #111;
}

.account-shell .table {
    color: #111;
}

.account-shell .table td,
.account-shell .table th {
    border-top: 1px solid rgba(0, 0, 0, 0.10);
}

.account-shell .table.borderless td,
.account-shell .table.borderless th {
    border: 0;
}

.account-shell .table.borderless th {
    color: #444;
    font-weight: 500;
    width: 34%;
    white-space: nowrap;
}

.account-shell .table.borderless td {
    color: #111;
}

@media (max-width: 520px) {
    .account-page-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .account-shell {
        padding: 18px 16px 22px;
    }
    .account-card .card-body {
        padding: 1.35rem 1.05rem;
    }
}

/* Signup/login help text: readable bullets */
.account-shell .form-text {
    margin-top: 0.5rem;
    color: #555 !important;
}

.account-shell .form-text ul {
    margin: 0.35rem 0 0;
    padding-left: 0;
    list-style: none;
}

.account-shell .form-text li {
    margin: 0.15rem 0;
    line-height: 1.55;
}


