/* ============================================================
   GLOMOSPO — Glassmorphic Motorsport Theme
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #0b0b0f 0%, #1a1025 50%, #0d1117 100%) fixed;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.02) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0;
    pointer-events: none;
    z-index: 0;
}

body > * { position: relative; z-index: 1; }

a { color: #00b4d8; text-decoration: none; transition: color .2s; }
a:hover { color: #48cae4; }

img, video { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0b0b0f; }
::-webkit-scrollbar-thumb { background: #e10600; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ff6b00; }

/* Firefox */
html { scrollbar-color: #e10600 #0b0b0f; scrollbar-width: thin; }

/* ---------- Glass Surfaces ---------- */
.glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
}

.glass-strong {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
}

.glass-dark {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

/* ---------- Container ---------- */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 680px; margin: 0 auto; padding: 0 20px; }
.container-md { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 64px;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(11, 11, 15, 0.82);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-logo img { height: 34px; width: auto; }

.nav-search {
    flex: 1;
    max-width: 420px;
    position: relative;
    margin: 0 auto;
}
.nav-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a8a8a;
    font-size: .85rem;
    pointer-events: none;
}
.nav-search-input {
    width: 100%;
    padding: 9px 16px 9px 38px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 50px;
    color: #fff;
    font-size: .9rem;
    outline: none;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.nav-search-input::placeholder { color: #777; }
.nav-search-input:focus {
    border-color: #e10600;
    background: rgba(255,255,255,0.10);
    box-shadow: 0 0 0 3px rgba(225,6,0,0.18);
}

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.nav-auth-links { display: flex; align-items: center; gap: 10px; }

.nav-icon-link {
    position: relative;
    color: #b0b0b0;
    font-size: 1.1rem;
    padding: 8px;
    border-radius: 50%;
    transition: color .2s, background .2s;
}
.nav-icon-link:hover { color: #fff; background: rgba(255,255,255,0.08); }

.unread-badge {
    position: absolute;
    top: 2px; right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #e10600;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Avatar in nav */
.nav-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
}
.nav-avatar-default {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.10);
    color: #8a8a8a;
    font-size: .8rem;
}

.nav-username {
    color: #e0e0e0;
    font-weight: 500;
    font-size: .9rem;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid transparent;
    padding: 4px 10px 4px 4px;
    border-radius: 50px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    color: inherit;
    font: inherit;
}
.nav-dropdown-toggle:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.10); }
.nav-dropdown-caret { font-size: .6rem; color: #8a8a8a; transition: transform .2s; }
.nav-dropdown.open .nav-dropdown-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    padding: 8px 0;
    display: none;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    z-index: 2000;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; animation: fadeSlideDown .2s ease; }

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: #d0d0d0;
    font-size: .9rem;
    transition: background .15s, color .15s;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    font: inherit;
    text-align: left;
}
.dropdown-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
.dropdown-item i { width: 18px; text-align: center; color: #8a8a8a; }
.dropdown-item:hover i { color: #e10600; }
.dropdown-item-danger { color: #ff5252; }
.dropdown-item-danger:hover { color: #ff1744; background: rgba(255,23,68,0.08); }
.dropdown-item-danger i { color: #ff5252; }

.dropdown-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 6px 0;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: #b0b0b0;
    font-size: 1.3rem;
    padding: 8px;
    cursor: pointer;
    transition: color .2s;
    margin-left: auto;
}
.nav-hamburger:hover { color: #fff; }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1500;
    opacity: 0;
    transition: opacity .3s;
}
.mobile-nav-overlay.active { opacity: 1; }

.mobile-nav {
    position: fixed;
    top: 0; right: -300px; bottom: 0;
    width: 280px;
    z-index: 1600;
    border-radius: 16px 0 0 16px;
    padding: 20px;
    transition: right .3s ease;
    overflow-y: auto;
}
.mobile-nav.active { right: 0; }

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.mobile-nav-logo { height: 28px; }
.mobile-nav-close {
    background: none; border: none; color: #b0b0b0; font-size: 1.2rem; cursor: pointer;
    padding: 6px;
}
.mobile-nav-close:hover { color: #fff; }

.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.mobile-nav-links a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 10px;
    color: #d0d0d0; font-size: .95rem; transition: background .15s, color .15s;
}
.mobile-nav-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.mobile-nav-links a i { width: 20px; text-align: center; color: #8a8a8a; }
.mobile-nav-links a:hover i { color: #e10600; }

.mobile-search { margin-bottom: 8px; }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
    padding-top: 84px;
    padding-bottom: 40px;
    min-height: calc(100vh - 60px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    border-radius: 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    background: rgba(11,11,15,0.7);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #e10600, #ff6b00);
    color: #fff;
    box-shadow: 0 4px 16px rgba(225,6,0,0.25);
}
.btn-primary:hover {
    filter: brightness(1.15);
    box-shadow: 0 6px 24px rgba(225,6,0,0.35);
    transform: translateY(-1px);
    color: #fff;
}

.btn-secondary {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.16);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #d0d0d0;
    border: 1px solid rgba(255,255,255,0.18);
}
.btn-outline:hover {
    border-color: #e10600;
    color: #fff;
    background: rgba(225,6,0,0.06);
}

.btn-danger {
    background: linear-gradient(135deg, #d32f2f, #ff1744);
    color: #fff;
}
.btn-danger:hover {
    filter: brightness(1.15);
    box-shadow: 0 4px 16px rgba(255,23,68,0.3);
}

.btn-success {
    background: linear-gradient(135deg, #00c853, #69f0ae);
    color: #0b0b0f;
    font-weight: 700;
}
.btn-success:hover { filter: brightness(1.1); }

.btn-sm { padding: 7px 16px; font-size: .82rem; border-radius: 8px; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; border-radius: 12px; }

.btn-icon {
    background: none; border: none;
    color: #8a8a8a; cursor: pointer;
    padding: 6px; border-radius: 6px;
    transition: color .2s, background .2s;
    font-size: .9rem;
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-icon:hover { color: #fff; background: rgba(255,255,255,0.08); }
.btn-icon-danger:hover { color: #ff5252; background: rgba(255,82,82,0.1); }
.btn-icon-sm { font-size: .75rem; padding: 4px; }

/* ============================================================
   FORMS
   ============================================================ */
label, .form-label {
    display: block;
    color: #b0b0b0;
    font-weight: 500;
    font-size: .88rem;
    margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    outline: none;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
input::placeholder, textarea::placeholder { color: #666; }
input:focus, textarea:focus, select:focus {
    border-color: #e10600;
    background: rgba(255,255,255,0.09);
    box-shadow: 0 0 0 3px rgba(225,6,0,0.18);
}

textarea { resize: vertical; min-height: 80px; }

select option { background: #1a1a2e; color: #fff; }

.form-group { margin-bottom: 18px; }

.form-text { font-size: .8rem; color: #777; margin-top: 4px; }

/* File input */
.file-input-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}
.file-input-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.08);
    border: 1px dashed rgba(255,255,255,0.18);
    border-radius: 10px;
    color: #b0b0b0;
    font-size: .88rem;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}
.file-input-label:hover { border-color: #e10600; color: #fff; }
.file-input-name { font-size: .82rem; color: #b0b0b0; }

/* Validation */
.input-validation-error { border-color: #ff5252 !important; }
.field-validation-error { color: #ff5252; font-size: .82rem; margin-top: 4px; display: block; }
.validation-summary-errors { color: #ff5252; margin-bottom: 16px; }
.validation-summary-errors ul { list-style: none; padding: 0; }
.validation-summary-errors ul li { padding: 4px 0; font-size: .88rem; }

/* Checkbox */
input[type="checkbox"] {
    width: auto;
    accent-color: #e10600;
    margin-right: 8px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    transition: box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
    box-shadow: 0 0 30px rgba(225,6,0,0.06);
    border-color: rgba(255,255,255,0.14);
}

/* ============================================================
   POST CARDS
   ============================================================ */
.post-card {
    padding: 24px;
    margin-bottom: 20px;
    animation: slideUp .4s ease both;
    transition: box-shadow .3s, border-color .3s;
}
.post-card:hover {
    box-shadow: 0 0 30px rgba(225,6,0,0.07);
    border-color: rgba(255,255,255,0.15);
}

.post-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.post-user-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
}
.post-user-link:hover { color: inherit; }
.post-user-link:hover .post-display-name { color: #e10600; }

.post-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}
.post-avatar-default {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.10);
    color: #666;
    font-size: 1rem;
}

.post-user-info { display: flex; flex-direction: column; gap: 2px; }
.post-display-name { font-weight: 600; font-size: .95rem; color: #fff; transition: color .2s; }

.post-header-right { display: flex; align-items: center; gap: 8px; }
.post-time { font-size: .8rem; }

.post-delete-form { display: inline; }

.post-content {
    font-size: .95rem;
    line-height: 1.65;
    color: #e0e0e0;
    margin-bottom: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.post-media { margin-bottom: 14px; border-radius: 12px; overflow: hidden; }
.post-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    cursor: pointer;
    transition: transform .3s;
}
.post-image:hover { transform: scale(1.01); }
.post-video { width: 100%; max-height: 520px; border-radius: 12px; }

/* Post actions */
.post-actions {
    display: flex;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.post-action-form { display: inline; }
.post-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    background: none;
    border: none;
    color: #8a8a8a;
    font-size: .88rem;
    cursor: pointer;
    transition: color .2s, background .2s;
    font-family: 'Inter', sans-serif;
}
.post-action-btn:hover { color: #fff; background: rgba(255,255,255,0.06); }
.post-action-btn.liked { color: #e10600; }
.post-action-btn.liked:hover { color: #ff6b00; }
.post-action-btn.liked i { font-weight: 900; }

/* Comments */
.post-comments { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.06); }

.comments-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }

.comment-item { display: flex; gap: 10px; }
.comment-avatar-link { flex-shrink: 0; }
.comment-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.12);
}
.comment-avatar-default {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: #666;
    font-size: .7rem;
}

.comment-body {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 10px 14px;
}
.comment-header { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; flex-wrap: wrap; }
.comment-author { font-weight: 600; font-size: .85rem; color: #d0d0d0; }
.comment-author:hover { color: #e10600; }
.comment-time { font-size: .72rem; }
.comment-delete-form { display: inline; margin-left: auto; }
.comment-text { font-size: .88rem; color: #c0c0c0; line-height: 1.5; }

.comment-form { margin-top: 8px; }
.comment-input-row { display: flex; gap: 8px; align-items: center; }
.comment-input {
    flex: 1;
    padding: 9px 14px;
    border-radius: 50px;
    font-size: .85rem;
}

/* ============================================================
   POST CREATE BOX
   ============================================================ */
.create-post-box {
    padding: 24px;
    margin-bottom: 24px;
}
.create-post-box textarea {
    min-height: 80px;
    border-radius: 12px;
    margin-bottom: 12px;
    resize: vertical;
}
.create-post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.create-post-left { display: flex; align-items: center; gap: 12px; }
.create-post-preview { display: flex; align-items: center; gap: 8px; }
.create-post-preview img {
    width: 48px; height: 48px;
    object-fit: cover; border-radius: 6px;
}
.create-post-preview .remove-preview {
    background: none; border: none; color: #ff5252; cursor: pointer; font-size: .85rem;
}
.char-counter { font-size: .78rem; color: #666; }
.char-counter.warn { color: #ff6b00; }
.char-counter.danger { color: #e10600; }

/* ============================================================
   PROFILE PAGE
   ============================================================ */
.profile-cover {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1025 0%, #0d1117 100%);
}
.profile-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.profile-cover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(transparent, rgba(11,11,15,0.9));
}

.profile-header {
    max-width: 900px;
    margin: -60px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.profile-avatar-wrap {
    display: inline-block;
    position: relative;
}
.profile-avatar {
    width: 120px; height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.1);
}
.profile-avatar-default {
    width: 120px; height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 4px solid rgba(255,255,255,0.15);
    font-size: 2.5rem;
    color: #666;
}

.profile-info { margin-top: 16px; }
.profile-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.profile-location { color: #8a8a8a; font-size: .9rem; margin-bottom: 8px; }
.profile-location i { margin-right: 4px; }
.profile-bio { color: #c0c0c0; font-size: .95rem; line-height: 1.6; margin-bottom: 16px; max-width: 600px; }

.profile-actions { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }

/* Stats */
.profile-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.stat-card {
    padding: 16px 24px;
    text-align: center;
    min-width: 110px;
}
.stat-number {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    display: block;
}
.stat-label { font-size: .78rem; color: #8a8a8a; text-transform: uppercase; letter-spacing: 1px; }

/* ============================================================
   MESSAGES
   ============================================================ */
/* Inbox */
.inbox-list { display: flex; flex-direction: column; gap: 4px; }
.inbox-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition: background .2s, border-color .2s;
    text-decoration: none;
    color: inherit;
}
.inbox-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
    color: inherit;
}
.inbox-item.unread {
    border-left: 3px solid #e10600;
    background: rgba(225,6,0,0.04);
}
.inbox-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.12);
    flex-shrink: 0;
}
.inbox-avatar-default {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: #666;
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.12);
}
.inbox-info { flex: 1; min-width: 0; }
.inbox-name { font-weight: 600; font-size: .95rem; color: #fff; }
.inbox-preview { font-size: .85rem; color: #8a8a8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-meta { text-align: right; flex-shrink: 0; }
.inbox-time { font-size: .75rem; color: #666; display: block; margin-bottom: 4px; }
.inbox-unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px; height: 22px;
    padding: 0 6px;
    background: #e10600;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    border-radius: 50px;
}

/* Conversation */
.conversation-container {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 160px);
}
.conversation-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
}
.conversation-header .back-link {
    color: #8a8a8a;
    font-size: 1.1rem;
    padding: 6px;
    border-radius: 8px;
    transition: color .2s, background .2s;
}
.conversation-header .back-link:hover { color: #fff; background: rgba(255,255,255,0.08); }

.conversation-messages {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg-bubble {
    max-width: 70%;
    padding: 12px 18px;
    border-radius: 16px;
    font-size: .9rem;
    line-height: 1.5;
    position: relative;
    word-wrap: break-word;
}
.msg-sent {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(225,6,0,0.25), rgba(255,107,0,0.18));
    border: 1px solid rgba(225,6,0,0.2);
    border-radius: 16px 16px 4px 16px;
}
.msg-received {
    align-self: flex-start;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px 16px 16px 4px;
}
.msg-time {
    font-size: .7rem;
    color: #666;
    margin-top: 4px;
}
.msg-sent .msg-time { text-align: right; }

.conversation-input {
    padding: 16px 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.conversation-input input {
    flex: 1;
    border-radius: 50px;
    padding: 12px 20px;
}

/* ============================================================
   FRIENDS / SOCIAL
   ============================================================ */
.user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background .2s, border-color .2s;
    margin-bottom: 8px;
}
.user-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.14);
}
.user-card-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.12);
    flex-shrink: 0;
}
.user-card-avatar-default {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: #666;
    font-size: 1.15rem;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.12);
}
.user-card-info { flex: 1; min-width: 0; }
.user-card-name {
    font-weight: 600; font-size: .95rem; color: #fff;
    display: block;
}
.user-card-name:hover { color: #e10600; }
.user-card-meta { font-size: .82rem; color: #8a8a8a; }
.user-card-actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

/* Section tabs */
.section-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 0;
}
.section-tab {
    padding: 12px 20px;
    color: #8a8a8a;
    font-weight: 500;
    font-size: .9rem;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.section-tab:hover { color: #fff; }
.section-tab.active { color: #e10600; border-bottom-color: #e10600; }
.section-tab .tab-count {
    font-size: .75rem;
    background: rgba(255,255,255,0.1);
    padding: 2px 8px;
    border-radius: 50px;
}

/* ============================================================
   LANDING PAGE
   ============================================================ */
.landing-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    min-height: 60vh;
    position: relative;
}

/* Decorative racing stripes */
.landing-hero::before {
    content: '';
    position: absolute;
    top: 20%; left: -10%;
    width: 120%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(225,6,0,0.15), transparent);
    transform: rotate(-3deg);
}
.landing-hero::after {
    content: '';
    position: absolute;
    top: 25%; left: -10%;
    width: 120%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,107,0,0.10), transparent);
    transform: rotate(-3deg);
}

.landing-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.1;
}
.landing-title span { color: #e10600; }

.landing-subtitle {
    font-size: 1.15rem;
    color: #8a8a8a;
    margin-bottom: 36px;
    max-width: 520px;
}

.landing-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 60px; }

.landing-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.feature-card {
    padding: 28px 22px;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(225,6,0,0.1);
}
.feature-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(225,6,0,0.15), rgba(255,107,0,0.08));
    color: #e10600;
}
.feature-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.feature-desc { font-size: .85rem; color: #8a8a8a; line-height: 1.6; }

/* ============================================================
   AUTH PAGES (Login / Register)
   ============================================================ */
.auth-container {
    max-width: 440px;
    margin: 40px auto;
    padding: 0 20px;
}
.auth-card {
    padding: 36px 32px;
}
.auth-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: #fff;
}
.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: .88rem;
    color: #8a8a8a;
}
.auth-footer a { color: #e10600; font-weight: 500; }
.auth-footer a:hover { color: #ff6b00; }

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-header {
    margin-bottom: 24px;
}
.search-query { color: #e10600; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 600;
    background: rgba(255,255,255,0.08);
    color: #b0b0b0;
    white-space: nowrap;
}
.motorsport-badge {
    background: rgba(225,6,0,0.12);
    color: #ff8a80;
}
.motorsport-badge i { font-size: .65rem; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox-overlay img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 8px;
    cursor: default;
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 24px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 1.3rem;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 5001;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ============================================================
   EMPTY STATES
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: #666;
}
.empty-state i { font-size: 2.5rem; margin-bottom: 14px; display: block; color: #444; }
.empty-state p { font-size: .95rem; color: #8a8a8a; }

/* ============================================================
   PAGE HEADING
   ============================================================ */
.page-heading {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}
.page-heading i { color: #e10600; margin-right: 8px; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.gap-5 { gap: 40px; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: .85rem; }
.text-lg { font-size: 1.1rem; }
.text-xl { font-size: 1.35rem; }
.text-2xl { font-size: 1.75rem; }
.text-muted { color: #8a8a8a; }
.text-accent { color: #e10600; }
.text-success { color: #00c853; }
.text-white { color: #fff; }

.font-heading { font-family: 'Rajdhani', sans-serif; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }
.ml-1 { margin-left: 8px; }
.ml-2 { margin-left: 16px; }
.mr-1 { margin-right: 8px; }
.mr-2 { margin-right: 16px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }
.p-5 { padding: 40px; }

.rounded-full { border-radius: 50%; }
.rounded-lg { border-radius: 16px; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.relative { position: relative; }
.absolute { position: absolute; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.overflow-hidden { overflow: hidden; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn  { animation: fadeIn  .4s ease both; }
.animate-slideUp { animation: slideUp .4s ease both; }

/* stagger children */
.stagger > *:nth-child(1) { animation-delay: 0s; }
.stagger > *:nth-child(2) { animation-delay: .06s; }
.stagger > *:nth-child(3) { animation-delay: .12s; }
.stagger > *:nth-child(4) { animation-delay: .18s; }
.stagger > *:nth-child(5) { animation-delay: .24s; }
.stagger > *:nth-child(6) { animation-delay: .30s; }
.stagger > *:nth-child(7) { animation-delay: .36s; }
.stagger > *:nth-child(8) { animation-delay: .42s; }

/* ============================================================
   CARBON FIBER ACCENT (optional card variant)
   ============================================================ */
.carbon {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 4px 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .nav-search { display: none; }
    .nav-hamburger { display: flex; }
    .nav-actions { display: none; }

    .landing-title { font-size: 2.4rem; }
    .landing-features { grid-template-columns: repeat(2, 1fr); }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

    .profile-cover { height: 180px; }
    .profile-avatar, .profile-avatar-default { width: 90px; height: 90px; }
    .profile-name { font-size: 1.6rem; }
    .profile-header { margin-top: -45px; }

    .conversation-container { height: calc(100vh - 140px); }
    .msg-bubble { max-width: 85%; }

    .user-card { flex-wrap: wrap; }
    .user-card-actions { width: 100%; margin-top: 8px; }
}

@media (max-width: 480px) {
    .main-content { padding-top: 74px; }

    .landing-title { font-size: 1.8rem; }
    .landing-subtitle { font-size: 1rem; }
    .landing-features { grid-template-columns: 1fr; gap: 14px; }

    .post-card { padding: 18px; }
    .post-avatar { width: 38px; height: 38px; }
    .post-display-name { font-size: .88rem; }

    .btn { padding: 9px 18px; font-size: .85rem; }
    .btn-lg { padding: 12px 24px; font-size: .95rem; }

    .profile-stats { flex-direction: column; }
    .stat-card { min-width: 0; }

    .inbox-item { padding: 12px 14px; }
}

/* Extra-small: show nav-actions on larger mobile */
@media (min-width: 769px) {
    .nav-hamburger { display: none; }
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-header h1 i {
    background: linear-gradient(135deg, #e10600, #ff6b00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    padding: 1.25rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(225, 6, 0, 0.15);
}

.admin-stat-card .stat-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #e10600, #ff6b00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-stat-card .stat-number {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.admin-stat-card .stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-actions-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.admin-table-wrap {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table th {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: middle;
    font-size: 0.9rem;
}

.admin-table tr:hover td {
    background: rgba(255,255,255,0.03);
}

.admin-table .user-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-table .user-cell img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.1);
}

.admin-table .user-cell .avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    border: 2px solid rgba(255,255,255,0.1);
}

.admin-table .actions-cell {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge-active {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 200, 83, 0.15);
    color: #00c853;
    border: 1px solid rgba(0, 200, 83, 0.3);
}

.badge-banned {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(225, 6, 0, 0.15);
    color: #ff5252;
    border: 1px solid rgba(225, 6, 0, 0.3);
}

.badge-admin {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 107, 0, 0.15);
    color: #ff6b00;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.admin-search {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.admin-search input {
    flex: 1;
    padding: 0.6rem 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.admin-search input:focus {
    border-color: rgba(225, 6, 0, 0.5);
}

.admin-search button {
    padding: 0.6rem 1.25rem;
}

.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-pagination a, .admin-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.admin-pagination a {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}

.admin-pagination a:hover {
    background: rgba(225, 6, 0, 0.2);
    border-color: rgba(225, 6, 0, 0.4);
    color: #fff;
}

.admin-pagination .active {
    background: linear-gradient(135deg, #e10600, #ff6b00);
    border: 1px solid transparent;
    color: #fff;
}

.admin-pagination .disabled {
    opacity: 0.3;
    pointer-events: none;
}

.admin-alert {
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-alert-success {
    background: rgba(0, 200, 83, 0.12);
    border: 1px solid rgba(0, 200, 83, 0.3);
    color: #69f0ae;
}

.admin-alert-error {
    background: rgba(225, 6, 0, 0.12);
    border: 1px solid rgba(225, 6, 0, 0.3);
    color: #ff5252;
}

.admin-timeline {
    list-style: none;
    padding: 0;
}

.admin-timeline li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.9rem;
}

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

.admin-timeline .timeline-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(225, 6, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ff6b00;
    font-size: 0.8rem;
}

.admin-timeline .timeline-text {
    flex: 1;
    color: rgba(255,255,255,0.8);
}

.admin-timeline .timeline-time {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
}

.admin-form-card {
    padding: 2rem;
    max-width: 700px;
}

.admin-form-card .form-group {
    margin-bottom: 1.25rem;
}

.admin-form-card label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-form-card input[type="text"],
.admin-form-card input[type="email"],
.admin-form-card textarea {
    width: 100%;
    padding: 0.6rem 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.admin-form-card input:focus,
.admin-form-card textarea:focus {
    border-color: rgba(225, 6, 0, 0.5);
}

.admin-form-card textarea {
    min-height: 100px;
    resize: vertical;
}

.admin-form-card .checkbox-group {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.admin-form-card .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
    color: #fff;
}

.admin-form-card .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #e10600;
}

.admin-form-card .user-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.admin-form-card .user-meta span i {
    color: #ff6b00;
    margin-right: 0.3rem;
}

.admin-form-card .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-danger {
    background: linear-gradient(135deg, #c62828, #e10600);
    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover {
    box-shadow: 0 4px 20px rgba(225, 6, 0, 0.3);
    transform: translateY(-1px);
}

.btn-warning {
    background: linear-gradient(135deg, #e65100, #ff6b00);
    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-warning:hover {
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #2e7d32, #00c853);
    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-success:hover {
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.3);
    transform: translateY(-1px);
}

.btn-xs {
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
}

.content-truncated {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-indicator {
    color: #ff6b00;
}
