/* ============================================ */
/* BEM COMPONENTS - Soom Live                   */
/* Reusable component classes                   */
/* ============================================ */

/* ============================================ */
/* GLASS CARD                                   */
/* The transparent card used everywhere          */
/* ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
}

.glass-card--sm {
    padding: 15px;
    border-radius: 12px;
}

.glass-card--md {
    padding: 20px;
    border-radius: 12px;
}

.glass-card--lg {
    padding: 30px;
    border-radius: 16px;
}

.glass-card--xl {
    padding: 40px;
    border-radius: 20px;
}

.glass-card--compact {
    padding: 15px;
}

.glass-card--no-pad {
    padding: 0;
}

.glass-card--hover {
    transition: all 0.3s;
    cursor: pointer;
}

.glass-card--hover:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.glass-card--border-2 {
    border-width: 2px;
}

/* ============================================ */
/* STAT CARD                                    */
/* Statistics cards (admin + dashboard)          */
/* ============================================ */
.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.stat-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    flex-shrink: 0;
}

.stat-card__icon--primary { background: rgba(0, 102, 255, 0.15); }
.stat-card__icon--success { background: rgba(0, 212, 170, 0.15); }
.stat-card__icon--warning { background: rgba(251, 191, 36, 0.15); }
.stat-card__icon--danger { background: rgba(239, 68, 68, 0.15); }
.stat-card__icon--purple { background: rgba(167, 139, 250, 0.15); }
.stat-card__icon--accent { background: rgba(255, 107, 53, 0.15); }

.stat-card__content {
    flex: 1;
}

.stat-card__value {
    font-size: 2em;
    font-weight: 900;
    color: white;
    line-height: 1.2;
}

.stat-card__label {
    font-size: 0.85em;
    color: #94a3b8;
    font-weight: 600;
}

.stat-card--success {
    border-color: rgba(0, 212, 170, 0.3);
    background: rgba(0, 212, 170, 0.05);
}

.stat-card--warning {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.05);
}

.stat-card--danger {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.stat-card--primary {
    border-color: rgba(0, 102, 255, 0.3);
    background: rgba(0, 102, 255, 0.05);
}

/* ============================================ */
/* BADGE                                        */
/* Status badges                                */
/* ============================================ */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 600;
}

.badge--sm {
    padding: 3px 8px;
    font-size: 0.75em;
}

.badge--lg {
    padding: 6px 14px;
    font-size: 0.85em;
}

.badge--pill {
    border-radius: 20px;
    padding: 5px 12px;
}

.badge--success {
    background: rgba(0, 212, 170, 0.2);
    color: #00d4aa;
    border: 1px solid rgba(0, 212, 170, 0.3);
}

.badge--warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge--danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge--info {
    background: rgba(0, 102, 255, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.badge--muted {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.badge--accent {
    background: rgba(255, 107, 53, 0.15);
    color: #ff6b35;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.badge--purple {
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.3);
}

/* ============================================ */
/* PAGE HEADER                                  */
/* Section titles with subtitles                */
/* ============================================ */
.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-header__title {
    font-size: 2em;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.page-header__title--gradient {
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header__subtitle {
    font-size: 1em;
    color: #64748b;
    font-weight: 600;
}

.page-header__actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

/* ============================================ */
/* FILTER BAR                                   */
/* Search and filters section                   */
/* ============================================ */
.filter-bar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.filter-bar__row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 15px;
    align-items: center;
}

.filter-bar__input {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s;
}

.filter-bar__input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.filter-bar__select {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    font-size: 1em;
    font-family: inherit;
    min-width: 160px;
    cursor: pointer;
}

.filter-bar__select option {
    background: #1a1f3a;
    color: white;
}

.filter-bar__btn {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 14px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.filter-bar__btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Advanced Filters Panel */
.filter-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.filter-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-panel__title {
    color: white;
    font-size: 1.2em;
    font-weight: 700;
}

.filter-panel__reset {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-panel__reset:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.filter-panel__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.filter-panel__footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================ */
/* LIST ITEM                                    */
/* Generic list item with avatar and content    */
/* ============================================ */
.list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s;
    margin-bottom: 8px;
}

.list-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.list-item--clickable {
    cursor: pointer;
}

.list-item--clickable:hover {
    transform: translateX(-3px);
}

.list-item__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.list-item__avatar--sm {
    width: 32px;
    height: 32px;
    font-size: 0.85em;
}

.list-item__avatar--lg {
    width: 50px;
    height: 50px;
    font-size: 1.1em;
}

.list-item__content {
    flex: 1;
    min-width: 0;
}

.list-item__title {
    color: white;
    font-weight: 600;
    font-size: 0.95em;
}

.list-item__meta {
    color: #64748b;
    font-size: 0.8em;
    margin-top: 2px;
}

.list-item__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.list-item__value {
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
}

/* ============================================ */
/* EMPTY STATE                                  */
/* No results / empty list                      */
/* ============================================ */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
}

.empty-state--compact {
    padding: 60px 20px;
}

.empty-state__icon {
    font-size: 5em;
    margin-bottom: 20px;
}

.empty-state__title {
    font-size: 2em;
    margin-bottom: 15px;
    color: white;
}

.empty-state__text {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* ============================================ */
/* INFO BOX                                     */
/* Label + value display (car specs, details)   */
/* ============================================ */
.info-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
}

.info-box__label {
    font-size: 0.85em;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.info-box__value {
    font-size: 1.1em;
    color: white;
    font-weight: 700;
}

.info-box--highlight {
    border-color: rgba(0, 212, 170, 0.3);
    background: rgba(0, 212, 170, 0.05);
}

.info-box--warning {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.05);
}

.info-box--danger {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

/* ============================================ */
/* FORM ELEMENTS (Enhanced)                     */
/* Standalone form inputs                       */
/* ============================================ */
.form-input {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.95em;
    font-family: inherit;
    width: 100%;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-input--lg {
    padding: 16px;
    font-size: 1em;
    border-radius: 10px;
}

.form-select {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.95em;
    font-family: inherit;
    width: 100%;
    cursor: pointer;
}

.form-select option {
    background: #1a1f3a;
    color: white;
}

.form-label {
    color: #94a3b8;
    font-size: 0.9em;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.form-textarea {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.95em;
    font-family: inherit;
    width: 100%;
    min-height: 120px;
    resize: vertical;
    transition: all 0.3s;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

/* ============================================ */
/* UPLOAD ZONE                                  */
/* File upload drag & drop area                 */
/* ============================================ */
.upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
}

.upload-zone:hover,
.upload-zone--active {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
}

.upload-zone__icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.upload-zone__text {
    color: #94a3b8;
    font-weight: 600;
}

.upload-zone__hint {
    color: #64748b;
    font-size: 0.85em;
    margin-top: 8px;
}

/* ============================================ */
/* THUMB STRIP                                  */
/* Thumbnail gallery strip                      */
/* ============================================ */
.thumb-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.thumb-strip::-webkit-scrollbar {
    height: 6px;
}
.thumb-strip::-webkit-scrollbar-track {
    background: transparent;
}
.thumb-strip::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}
.thumb-strip::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.25);
}

.thumb-strip__item {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}

.thumb-strip__item:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.thumb-strip__item--active {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

.thumb-strip__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================ */
/* USER CHIP                                    */
/* Compact user display with avatar             */
/* ============================================ */
.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.85em;
}

.user-chip__avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--gradient-2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: 700;
}

.user-chip__name {
    color: white;
    font-weight: 600;
}

/* ============================================ */
/* CHART CONTAINER (Enhanced)                   */
/* Wrapper for Chart.js charts                  */
/* ============================================ */
.chart-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
}

.chart-card__title {
    color: white;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-card__canvas {
    position: relative;
    height: 250px;
}

/* ============================================ */
/* OR DIVIDER                                   */
/* "Or" separator between sections               */
/* ============================================ */
.or-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    color: #64748b;
    font-weight: 600;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================ */
/* ACTION BTN                                   */
/* Small action buttons (edit, delete, etc.)    */
/* ============================================ */
.action-btn {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
}

.action-btn--primary {
    background: rgba(0, 102, 255, 0.15);
    color: #60a5fa;
}

.action-btn--primary:hover {
    background: rgba(0, 102, 255, 0.3);
}

.action-btn--success {
    background: rgba(0, 212, 170, 0.2);
    color: #00d4aa;
}

.action-btn--success:hover {
    background: rgba(0, 212, 170, 0.35);
}

.action-btn--danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.action-btn--danger:hover {
    background: rgba(239, 68, 68, 0.35);
}

.action-btn--warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.action-btn--warning:hover {
    background: rgba(251, 191, 36, 0.35);
}

.action-btn--muted {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}

.action-btn--muted:hover {
    background: rgba(148, 163, 184, 0.3);
}

/* ============================================ */
/* SECTION DIVIDER                              */
/* Section heading within a page                */
/* ============================================ */
.section-heading {
    color: white;
    font-size: 1.3em;
    font-weight: 700;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-heading--sm {
    font-size: 1.1em;
    margin: 20px 0 12px 0;
}

/* ============================================ */
/* RESULTS COUNT                                */
/* Search results counter                       */
/* ============================================ */
.results-count {
    margin-bottom: 25px;
    color: #94a3b8;
    text-align: center;
    font-size: 1em;
    font-weight: 600;
}

/* ============================================ */
/* AUTH FORM                                    */
/* Auth page specific components                */
/* ============================================ */
.auth-form__checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.auth-form__remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    cursor: pointer;
}

.auth-form__error {
    color: #ef4444;
    font-size: 0.85em;
}

/* ============================================ */
/* LEGAL PAGE                                   */
/* Terms, privacy, legal content sections       */
/* ============================================ */
.legal-section {
    color: #94a3b8;
    line-height: 2;
    font-size: 1.05em;
}

.legal-section__heading {
    color: var(--secondary);
    margin: 30px 0 15px 0;
}

.legal-section__list {
    padding-right: 25px;
    margin-bottom: 15px;
}

.legal-section__icon {
    font-size: 1.5em;
}

/* ============================================ */
/* CONTACT BOX                                  */
/* Contact CTA box with accent border           */
/* ============================================ */
.contact-box {
    background: rgba(0, 212, 170, 0.1);
    border: 2px solid rgba(0, 212, 170, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.contact-box__title {
    color: var(--secondary);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.contact-box__text {
    color: #94a3b8;
    margin-bottom: 20px;
}

.contact-box__links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-box__item {
    color: white;
    font-weight: 600;
}

/* ============================================ */
/* CENTER CARD                                  */
/* Inspection center detail card                */
/* ============================================ */
.center-card__header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.center-card__icon {
    font-size: 3em;
}

.center-card__body {
    flex: 1;
}

.center-card__detail {
    margin-bottom: 10px;
}

.center-card__badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: 700;
    margin-top: 10px;
}

.auth-form__link {
    color: var(--secondary);
    text-decoration: none;
    transition: opacity 0.3s;
}

.auth-form__link:hover {
    opacity: 0.8;
}

.auth-form__password-wrapper {
    position: relative;
}

.auth-form__password-toggle {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    font-size: 1.1em;
    transition: color 0.3s;
}

[dir="ltr"] .auth-form__password-toggle {
    left: auto;
    right: 12px;
}

.auth-form__password-toggle:hover {
    color: white;
}

/* ============================================ */
/* ADMIN STAT (Centered)                        */
/* Pending actions banner */
.pending-actions-banner {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(245, 158, 11, 0.06));
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 16px;
    padding: 20px 25px;
}
.pending-actions-title {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.pending-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.pending-action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: 10px;
    padding: 12px 15px;
    text-decoration: none;
    transition: all 0.2s;
}
.pending-action-item:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-1px);
}
.pending-action-icon { font-size: 1.3em; }
.pending-action-count {
    background: #fbbf24;
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    min-width: 26px;
    height: 26px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}
.pending-action-label {
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Stats cards with centered layout for admin   */
/* ============================================ */
.admin-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

a.admin-stat--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.admin-stat:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

a.admin-stat--link:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

.admin-stat__icon {
    font-size: 2em;
    margin-bottom: 8px;
}

.admin-stat__value {
    font-size: 2em;
    font-weight: 900;
    color: white;
}

.admin-stat__value--success { color: var(--secondary); }
.admin-stat__value--warning { color: #fbbf24; }
.admin-stat__value--primary { color: var(--primary); }
.admin-stat__value--danger { color: #ef4444; }
.admin-stat__value--purple { color: #a78bfa; }
.admin-stat__value--blue { color: #60a5fa; }
.admin-stat__value--pink { color: #f472b6; }

.admin-stat__label {
    color: #94a3b8;
    font-size: 0.9em;
    margin-top: 5px;
}

/* ============================================ */
/* ADMIN PAGE TITLE                             */
/* Page-level heading for admin sections        */
/* ============================================ */
.admin-title {
    color: white;
    font-size: 2em;
    margin-bottom: 30px;
}

.admin-title__count {
    font-size: 0.5em;
    color: #94a3b8;
    font-weight: 400;
    margin-right: 10px;
}

/* ============================================ */
/* ADMIN LIST ROW                               */
/* Row items in admin lists (users, cars, etc.) */
/* ============================================ */
.admin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-row:last-child {
    border-bottom: none;
}

.admin-row--gap {
    gap: 20px;
}

.admin-row--wrap {
    flex-wrap: wrap;
    gap: 15px;
}

/* ============================================ */
/* AVATAR CIRCLE                                */
/* Circular avatar with gradient background     */
/* ============================================ */
.avatar-circle {
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    flex-shrink: 0;
}

.avatar-circle--sm {
    width: 40px;
    height: 40px;
    font-size: 1em;
    font-weight: 700;
}

.avatar-circle--md {
    width: 45px;
    height: 45px;
    font-size: 1.1em;
    font-weight: 700;
}

.avatar-circle--lg {
    width: 50px;
    height: 50px;
    font-size: 1.3em;
}

/* ============================================ */
/* ACTION BTN (Enhanced sizes)                  */
/* Extended action buttons for admin panels     */
/* ============================================ */
.action-btn--lg {
    padding: 8px 18px;
    font-size: 0.85em;
    border-radius: 8px;
}

.action-btn--xl {
    padding: 8px 20px;
    font-size: 0.9em;
    border-radius: 8px;
}

.action-btn--purple {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.action-btn--purple:hover {
    background: rgba(139, 92, 246, 0.35);
}

.action-btn--solid-success {
    background: var(--secondary);
    color: var(--dark);
}

.action-btn--solid-success:hover {
    opacity: 0.9;
}

.action-btn--solid-primary {
    background: var(--primary);
    color: white;
}

.action-btn--solid-primary:hover {
    opacity: 0.9;
}

/* ============================================ */
/* EXPORT BTN                                   */
/* Styled download/export links                 */
/* ============================================ */
.export-btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    display: inline-block;
    transition: all 0.3s;
}

.export-btn--blue {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.export-btn--purple {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.export-btn--warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.export-btn--success {
    background: rgba(0, 212, 170, 0.2);
    color: var(--secondary);
}

/* ============================================ */
/* GLASS CARD MODIFIERS                         */
/* Additional card modifiers for admin          */
/* ============================================ */
.glass-card--pending {
    border-right: 4px solid #fbbf24;
}

.glass-card--warning-border {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.1);
}

/* ============================================ */
/* ADMIN ACTIONS BAR                            */
/* Action row within cards                      */
/* ============================================ */
.admin-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-actions--sm {
    gap: 10px;
}

.admin-actions--end {
    align-items: flex-end;
}

/* ============================================ */
/* CAR THUMBNAIL                                */
/* Small car image in lists                     */
/* ============================================ */
.car-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.car-thumb--placeholder {
    width: 80px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.5em;
}

/* ============================================ */
/* PROOF LINK                                   */
/* Styled link for commission proof files       */
/* ============================================ */
.proof-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9em;
    display: inline-block;
    margin-top: 8px;
    transition: opacity 0.3s;
}

.proof-link:hover {
    opacity: 0.8;
}

/* ============================================ */
/* PERMISSION CHECKBOX                          */
/* Styled checkbox labels in staff permissions  */
/* ============================================ */
.perm-label {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.9em;
}

.perm-label__input {
    width: 16px;
    height: 16px;
}

/* ============================================ */
/* RANK NUMBER                                  */
/* Numbered ranking indicator                   */
/* ============================================ */
.rank-num {
    font-weight: 700;
    min-width: 25px;
    color: #64748b;
}

.rank-num--top {
    color: #fbbf24;
}

/* ============================================ */
/* SIDEBAR                                      */
/* Admin sidebar components                     */
/* ============================================ */
.sidebar__header {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.sidebar__title {
    font-size: 1.5em;
    color: var(--secondary);
    font-weight: 900;
}

.sidebar__link {
    color: inherit;
    text-decoration: none;
}

.sidebar__separator {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 15px 0;
    padding: 0;
    list-style: none;
}

/* ============================================ */
/* ADMIN SEARCH FORM                            */
/* Inline search/filter bar for admin pages     */
/* ============================================ */
.admin-search {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.admin-search__input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 0.95em;
}

.admin-search__input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.admin-search__select {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    cursor: pointer;
    font-size: 0.95em;
}

.admin-search__select option {
    background: #1a1f3a;
    color: white;
}

.admin-search__btn {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95em;
    transition: all 0.3s;
}

.admin-search__btn:hover {
    opacity: 0.9;
}

/* ============================================ */
/* AUCTION CARD (Admin list item)               */
/* Car auction row in admin auction list        */
/* ============================================ */
.auction-card {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.auction-card__info {
    flex: 1;
    min-width: 150px;
}

.auction-card__title {
    color: white;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.auction-card__meta {
    color: #94a3b8;
    font-size: 0.9em;
    margin-bottom: 4px;
}

.auction-card__prices {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
}

.auction-card__price {
    color: var(--secondary);
    font-weight: 600;
}

.auction-card__start-price {
    color: #64748b;
    font-size: 0.8em;
}

.auction-card__stats {
    display: flex;
    gap: 12px;
    color: #64748b;
    font-size: 0.85em;
    flex-wrap: wrap;
}

.auction-card__bids {
    color: #64748b;
    font-size: 0.85em;
}

.auction-card__lifecycle {
    text-align: center;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.auction-card__time {
    font-size: 0.85em;
    color: #94a3b8;
}

.auction-card__time--active {
    color: #00d4aa;
    font-weight: 600;
}

.auction-card__time-detail {
    font-size: 0.78em;
    color: #64748b;
}

.auction-card__status {
    text-align: center;
}

/* ============================================ */
/* VIEW TOGGLE (Grid / List switch)            */
/* ============================================ */
.view-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    gap: 3px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.view-toggle__btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    width: 42px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
}

.view-toggle__btn:hover {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
}

.view-toggle__btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 102, 255, 0.4);
}

.view-toggle__btn svg {
    pointer-events: none;
}

/* ============================================ */
/* ADMIN LIST (Grid mode)                      */
/* ============================================ */
.admin-list {
    transition: all 0.3s ease;
}

.admin-list--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.admin-list--grid > .glass-card--md,
.admin-list--grid > .glass-card {
    margin-bottom: 0;
}

.admin-list--grid .auction-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.admin-list--grid .auction-card .car-thumb {
    width: 100%;
    height: 140px;
    border-radius: 8px;
}

.admin-list--grid .auction-card .car-thumb--placeholder {
    width: 100%;
    height: 140px;
    border-radius: 8px;
}

.admin-list--grid .auction-card__info {
    min-width: 0;
}

.admin-list--grid .auction-card__lifecycle {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    min-width: 0;
}

.admin-list--grid .admin-actions {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Grid mode: compact user cards */
.admin-list--grid .flex.gap-20 {
    flex-direction: column;
    gap: 10px;
}

.admin-list--grid .avatar-circle--lg {
    width: 40px;
    height: 40px;
    font-size: 1em;
}

/* Grid mode: hide secondary details */
.admin-list--grid .reject-form,
.admin-list--grid .proof-link,
.admin-list--grid .auction-card__time-detail {
    display: none;
}

/* Grid mode: compact text */
.admin-list--grid .text-muted.text-base {
    font-size: 0.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Empty state in grid should span full width */
.admin-list--grid > .empty-state {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .admin-list--grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* ADMIN FORM (inline grid forms)              */
/* Used in centers and similar edit forms       */
/* ============================================ */
.admin-form__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.admin-form__grid--sm {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    align-items: center;
}

.admin-form__row {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-form__checkbox {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.admin-form__checkbox--sm {
    gap: 5px;
}

.admin-form__checkbox input {
    width: 18px;
    height: 18px;
}

/* ============================================ */
/* ACTION BTN (Solid variants for forms)       */
/* ============================================ */
.action-btn--submit {
    background: var(--secondary);
    color: var(--dark);
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.action-btn--submit:hover {
    opacity: 0.9;
}

.action-btn--save {
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9em;
}

.action-btn--save:hover {
    opacity: 0.9;
}

.action-btn--delete {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85em;
}

.action-btn--delete:hover {
    text-decoration: underline;
}

/* ============================================ */
/* REJECT FORM                                  */
/* Inline reject form with textarea + button   */
/* ============================================ */
.reject-form {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    flex-wrap: wrap;
    flex: 1;
    min-width: 250px;
}

.reject-form__textarea {
    flex: 1;
    min-width: 180px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 0.85em;
    resize: vertical;
}

.reject-form__textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.reject-form__btn {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    font-family: inherit;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s;
}

.reject-form__btn:hover {
    background: rgba(239, 68, 68, 0.35);
}

/* ============================================ */
/* SIDEBAR LOGOUT                               */
/* Dashboard sidebar logout button styling      */
/* ============================================ */
.sidebar-logout {
    color: #ef4444;
    margin-top: 20px;
}

.sidebar-logout__form {
    display: inline;
}

.sidebar-logout__btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    font-weight: inherit;
}

/* ============================================ */
/* PAGE TITLE (Dashboard)                       */
/* Page-level heading for dashboard sections    */
/* ============================================ */
.page-title {
    color: white;
    font-size: 2em;
    margin-bottom: 10px;
}

.page-title--no-mb {
    margin-bottom: 0;
}

/* ============================================ */
/* COMMISSION AMOUNT                            */
/* Large amount display for commission page     */
/* ============================================ */
.commission-amount {
    font-size: 2em;
    font-weight: 900;
    color: var(--secondary);
    margin-top: 10px;
}

/* ============================================ */
/* FORM ERROR                                   */
/* Inline form validation error text            */
/* ============================================ */
.form-error {
    color: #ef4444;
    font-size: 0.85em;
}

/* ============================================ */
/* PROOF CARD                                   */
/* Commission proof status cards                */
/* ============================================ */
.proof-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.proof-card__rejection {
    color: #ef4444;
    margin-top: 10px;
    font-size: 0.9em;
}

/* ============================================ */
/* STAR RATING                                  */
/* Star rating display                          */
/* ============================================ */
.star-rating {
    color: #fbbf24;
    font-size: 1.2em;
}

/* ============================================ */
/* REVIEW CARD                                  */
/* Rating review cards                          */
/* ============================================ */
.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

/* ============================================ */
/* FAQ ITEM                                     */
/* Help page FAQ question/answer blocks         */
/* ============================================ */
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
}

.faq-item__question {
    color: white;
    margin-bottom: 10px;
}

.faq-item__answer {
    color: #94a3b8;
    line-height: 1.8;
}

/* ============================================ */
/* BACK LINK                                    */
/* Navigation back arrow link                   */
/* ============================================ */
.back-link {
    color: var(--primary);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
}

.back-link:hover {
    opacity: 0.8;
}

/* ============================================ */
/* MESSAGE CARD                                 */
/* Message thread and detail cards              */
/* ============================================ */
.message-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.message-card--compact {
    padding: 20px;
    margin-bottom: 15px;
}

.message-card--reply-form {
    margin-top: 25px;
}

.message-card__body {
    color: #94a3b8;
    line-height: 2;
    font-size: 1.05em;
    white-space: pre-wrap;
}

.message-card__body--reply {
    line-height: 1.8;
    font-size: 1em;
}

/* ============================================ */
/* MESSAGE REPLY                                */
/* Reply bubble in message thread               */
/* ============================================ */
.message-reply {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.message-reply--mine {
    background: rgba(0, 102, 255, 0.05);
    margin-left: 30px;
    margin-right: 0;
}

.message-reply--theirs {
    margin-right: 30px;
    margin-left: 0;
}

/* ============================================ */
/* AVATAR CIRCLE MODIFIERS                      */
/* Additional avatar circle variations          */
/* ============================================ */
.avatar-circle--reply {
    width: 35px;
    height: 35px;
    font-size: 0.9em;
    font-weight: 700;
}

.avatar-circle--muted {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================ */
/* MESSAGE LIST ITEM                            */
/* Clickable message in messages index          */
/* ============================================ */
.message-list-link {
    text-decoration: none;
    display: block;
}

.message-list-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.message-list-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.message-list-item--unread {
    border-color: rgba(255, 255, 255, 0.3);
    border-right: 4px solid var(--secondary);
}

.message-list-item__subject {
    color: white;
    margin-bottom: 5px;
}

.message-list-item__preview {
    color: #94a3b8;
    font-size: 0.9em;
}

.message-list-item__replies {
    color: #64748b;
    font-size: 0.85em;
    margin-top: 8px;
}

/* ============================================ */
/* NEW BADGE                                    */
/* Small "new/unread" indicator badge           */
/* ============================================ */
.badge--new {
    background: var(--secondary);
    color: var(--dark);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75em;
    font-weight: 700;
    margin-right: 8px;
}

/* ============================================ */
/* MARK ALL READ BUTTON                         */
/* Button for marking all notifications read    */
/* ============================================ */
.mark-read-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s;
}

.mark-read-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* ============================================ */
/* NOTIFICATION ITEM                            */
/* Individual notification card                 */
/* ============================================ */
.notification-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.notification-item--unread {
    border-color: rgba(255, 255, 255, 0.3);
    border-right: 4px solid var(--secondary);
}

.notification-item--clickable {
    cursor: pointer;
}

.notification-item--clickable:hover {
    background: rgba(255, 255, 255, 0.06);
}

.notification-item__title {
    color: white;
    margin-bottom: 5px;
}

.notification-item__text {
    color: #94a3b8;
    font-size: 0.95em;
}

.notification-item__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    display: inline-block;
}

.notification-item__time {
    color: #64748b;
    font-size: 0.85em;
    white-space: nowrap;
}

/* ============================================ */
/* IMAGE PREVIEW GRID                           */
/* Preview grid for uploaded images             */
/* ============================================ */
.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-preview-grid__item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
}

.image-preview-grid__item--pending {
    opacity: 0.5;
}

.image-preview-grid__item--failed {
    border: 2px solid #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-grid__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    font-size: 24px;
}

.image-preview-grid__remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.image-preview-grid__item:hover .image-preview-grid__remove {
    opacity: 1;
}

@media (max-width: 768px) {
    .image-preview-grid__remove {
        opacity: 1;
    }
}

.image-preview-grid__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================ */
/* STAFF CARD                                   */
/* Staff member card in admin staff management  */
/* ============================================ */
.staff-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.staff-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

.staff-card__user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.staff-card__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.staff-card__permissions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.staff-card__permissions-label {
    color: #94a3b8;
    font-size: 0.85em;
    margin-bottom: 10px;
    font-weight: 600;
}

.staff-card__permissions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* ============================================ */
/* STAFF ADD FORM                               */
/* Add staff member form layout                 */
/* ============================================ */
.staff-add-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.staff-add-form__field {
    flex: 1;
    min-width: 250px;
}

/* ============================================ */
/* AVATAR CIRCLE GRADIENT MODIFIER              */
/* Alternative gradient for avatar circles      */
/* ============================================ */
.avatar-circle--gradient-1 {
    background: var(--gradient-1);
}

/* ============================================ */
/* RESPONSIVE OVERRIDES                         */
/* ============================================ */
@media (max-width: 968px) {
    .filter-bar__row {
        grid-template-columns: 1fr;
    }
    .filter-panel__grid {
        grid-template-columns: 1fr;
    }
    .stat-card {
        padding: 15px;
    }
    .stat-card__value {
        font-size: 1.5em;
    }
    .admin-stat {
        padding: 15px;
    }
    .admin-stat__value {
        font-size: 1.5em;
    }
    .admin-search {
        flex-direction: column;
    }
    .admin-form__grid,
    .admin-form__grid--sm {
        grid-template-columns: 1fr;
    }
    .reject-form {
        min-width: 100%;
    }
    .message-reply--mine {
        margin-left: 15px;
    }
    .message-reply--theirs {
        margin-right: 15px;
    }
}
