/* Student account hero and shell styles */

.account-section {
    background: var(--bg-primary);
}

.account-hero {
    background: linear-gradient(135deg, rgba(0, 61, 130, 0.08), rgba(43, 127, 224, 0.08));
    border-bottom: 1px solid var(--border);
}

.account-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 360px);
    gap: 28px;
    align-items: stretch;
}

.account-badge {
    margin-bottom: 16px;
}

.account-title {
    margin-bottom: 12px;
    max-width: 720px;
}

.account-subtitle {
    color: var(--text-secondary);
    max-width: 720px;
    margin-bottom: 20px;
}

.account-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.account-feature-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    font-size: 0.875rem;
    font-weight: 600;
}

.account-summary-card,
.account-panel,
.account-sidebar-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.account-summary-card {
    padding: 28px;
}

.account-summary-eyebrow {
    margin-bottom: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--medical-blue);
    font-weight: 700;
}

.account-summary-card h2 {
    margin-bottom: 8px;
}

.account-summary-card p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.account-summary-stats,
.account-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.account-summary-stats {
    margin-top: 20px;
}

.account-summary-stats div,
.account-stat-card {
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--bg-section);
    border: 1px solid var(--border);
}

.account-summary-stats strong,
.account-stat-card strong {
    display: block;
    font-size: 1.5rem;
    color: var(--medical-blue);
    margin-bottom: 4px;
}

.account-summary-stats span,
.account-stat-card span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.account-notice {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.account-notice.is-success {
    background: var(--success-light);
    color: var(--success-green);
    border: 1px solid var(--success-green);
}

.account-notice.is-error {
    background: var(--danger-light);
    color: var(--danger-red);
    border: 1px solid var(--danger-red);
}

.account-shell {
    display: grid;
    gap: 24px;
}

.account-shell-dashboard {
    grid-template-columns: minmax(268px, 312px) minmax(0, 1fr);
    align-items: start;
    gap: 32px;
}

.account-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    display: grid;
    gap: 16px;
    align-self: start;
    min-width: 0;
}

.account-sidebar-card,
.account-panel {
    padding: 24px;
}

.account-sidebar-card {
    display: grid;
    gap: 16px;
    background: var(--medical-blue-dark);
    border-color: rgba(0, 87, 183, 0.2);
    color: white;
}

.account-sidebar-meta {
    display: grid;
    gap: 6px;
}

.account-user-badge {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.16);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.account-sidebar-label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.account-sidebar-card h2 {
    margin: 0;
    line-height: 1.25;
    word-break: break-word;
    color: white;
}

.account-sidebar-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    overflow-wrap: anywhere;
}

.account-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.account-mini-stat {
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
}

.account-mini-stat strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
    color: white;
}

.account-mini-stat span {
    display: block;
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.84);
}
