* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Professional theme inspired by TPUSA */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: rgba(220, 53, 69, 0.05);
    --bg-quaternary: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #6c757d;
    --text-tertiary: #adb5bd;
    --accent-primary: #dc3545;
    --accent-secondary: #1e3a8a;
    --border-primary: #e9ecef;
    --border-secondary: #dee2e6;
    --shadow-primary: rgba(220, 53, 69, 0.15);
    --patriot-red: #dc3545;
    --patriot-blue: #1e3a8a;
    --patriot-white: #ffffff;
}

[data-theme="dark"] {
    /* Dark theme */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: rgba(220, 53, 69, 0.1);
    --bg-quaternary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #adb5bd;
    --text-tertiary: #6c757d;
    --accent-primary: #dc3545;
    --accent-secondary: #3b82f6;
    --border-primary: #404040;
    --border-secondary: #505050;
    --shadow-primary: rgba(220, 53, 69, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    transition: all 0.3s ease;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-primary);
    border-bottom: 3px solid var(--patriot-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo h1 {
    color: var(--patriot-red);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.tagline {
    color: var(--patriot-blue);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.sub-tagline {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
}

.theme-toggle {
    margin-right: 20px;
}

.theme-toggle .btn {
    padding: 10px;
    border-radius: 50%;
    font-size: 1.2rem;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.btn-primary {
    background: var(--patriot-red);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: #b02a37;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-primary);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-secondary);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
}

.btn-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Navigation */
.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-quaternary);
    border: 1px solid var(--accent-primary);
    border-radius: 8px;
    min-width: 200px;
    display: none;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.user-dropdown.show {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.3s ease;
}

.user-dropdown a:hover {
    background: rgba(220, 53, 69, 0.1);
}

/* Authentication Modals */
.auth-modal, .profile-modal, .dashboard-modal, .settings-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 20px 0;
}

.auth-content, .profile-content, .dashboard-content, .settings-content {
    background: var(--bg-quaternary);
    margin: 20px auto;
    padding: 30px;
    border: 2px solid var(--accent-primary);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    top: 0;
    display: flex;
    flex-direction: column;
}

.dashboard-content {
    max-width: 800px;
}

.profile-content, .settings-content {
    max-width: 600px;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
}

.auth-links {
    text-align: center;
    margin: 15px 0 5px 0;
}

.forgot-password-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

/* Security Question Section */
.security-section {
    margin: 25px 0;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    border-left: 4px solid var(--accent-primary);
}

.security-section h4 {
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-size: 1rem;
}

.security-question-display {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent-secondary);
}

.security-question-display h3 {
    color: var(--accent-primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.question-text {
    font-style: italic;
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0;
}

/* Forgot Password Steps */
.auth-content .form-group small {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.auth-switch a {
    color: #dc3545;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.upload-subtitle {
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.required {
    color: #dc3545;
}

.recommended {
    color: var(--accent-secondary);
    font-size: 0.9rem;
}

.evidence-section {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-primary);
}

.evidence-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.terms-agreement {
    background: var(--bg-tertiary);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--accent-primary);
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
}

.checkbox-label a {
    color: var(--accent-primary);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.terms-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: rgba(220, 53, 69, 0.1);
    padding: 10px;
    border-radius: 5px;
}

.accountability-notice {
    background: var(--bg-tertiary);
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.accountability-notice h4 {
    color: #dc3545;
    margin-bottom: 10px;
    font-size: 1rem;
}

.accountability-notice p {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.video-header {
    margin-bottom: 20px;
}

.video-header h3 {
    margin-bottom: 8px;
}

.video-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    gap: 15px;
}

.story-section {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.story-section h4 {
    color: var(--accent-primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.evidence-section {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.evidence-section h4 {
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.video-controls-info {
    text-align: center;
    margin-top: 10px;
    color: var(--text-secondary);
}

/* Profile Modal */
.profile-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.avatar-section {
    text-align: center;
    min-width: 120px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #dc3545, #b02a37);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px;
    border: 3px solid var(--border-primary);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.avatar-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.avatar-controls .btn {
    font-size: 12px;
    padding: 8px 12px;
}

.form-note {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 5px;
}

.profile-details {
    flex: 1;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #dc3545;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Dashboard Modal */
.dashboard-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-primary);
}

.tab-btn {
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    color: #dc3545;
    border-bottom-color: #dc3545;
}

.dashboard-tab {
    min-height: 400px;
}

.user-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.user-video-card {
    background: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.user-video-card:hover {
    transform: translateY(-3px);
}

.user-video-card .video-thumbnail {
    height: 120px;
}

.user-video-card .video-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
}

.video-action-btn {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.video-action-btn:hover {
    background: rgba(220, 53, 69, 0.8);
}

.analytics-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.analytics-card {
    background: var(--bg-tertiary);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-primary);
}

.analytics-card h4 {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.analytics-card span {
    font-size: 2rem;
    font-weight: 600;
    color: #dc3545;
}

.earnings-summary {
    text-align: center;
    padding: 40px;
    background: var(--bg-tertiary);
    border-radius: 15px;
}

.earnings-summary h3 {
    font-size: 2rem;
    color: #dc3545;
    margin-bottom: 10px;
}

/* Settings Modal */
.settings-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-primary);
}

.settings-section:last-child {
    border-bottom: none;
}

.settings-section h3 {
    color: #dc3545;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Profile Modal */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
}

.profile-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    width: 0;
}

.profile-avatar .avatar-display {
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
}

.profile-info h3 {
    color: var(--text-primary);
    margin: 0 0 5px 0;
    font-size: 1.5rem;
}

.profile-info p {
    color: var(--text-secondary);
    margin: 3px 0;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-primary);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.profile-edit-form {
    margin-bottom: 20px;
}

.profile-edit-form h3 {
    color: var(--accent-primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.avatar-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.avatar-option {
    font-size: 30px;
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-secondary);
    background: var(--bg-secondary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-option:hover,
.avatar-option.selected {
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
}

/* Legal Documents */
.legal-document {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legal-document h1 {
    color: var(--accent-primary);
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent-primary);
}

.legal-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border-left: 4px solid var(--accent-primary);
}

.legal-section h2 {
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 25px 0 15px 0;
    padding-left: 10px;
    border-left: 3px solid var(--accent-primary);
}

.legal-section p {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-section li {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-section strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.community-footer {
    text-align: center;
    padding: 30px;
    margin: 40px 0;
    background: linear-gradient(45deg, var(--bg-tertiary), var(--bg-secondary));
    border-radius: 15px;
    border: 2px solid var(--accent-primary);
}

.community-footer h3 {
    color: var(--accent-primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.community-footer p {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
}

.setting-item {
    margin-bottom: 15px;
}

.setting-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-primary);
}

.setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
}

/* Legal Modals */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.legal-content {
    background: var(--bg-quaternary);
    margin: 2% auto;
    padding: 30px;
    border: 2px solid var(--accent-primary);
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.legal-text {
    line-height: 1.6;
    color: var(--text-primary);
}

.legal-text h3 {
    color: var(--accent-primary);
    margin: 25px 0 15px 0;
    font-size: 1.3rem;
}

.legal-text h4 {
    color: var(--accent-secondary);
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
}

.legal-text p {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.legal-text ul {
    margin: 15px 0 20px 20px;
    color: var(--text-primary);
}

.legal-text li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.legal-text strong {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Main Content */
.main {
    padding: 40px 0;
}

/* Upload Modal */
.upload-modal, .video-modal, .donation-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 20px 0;
}

.upload-content, .video-modal-content, .donation-content {
    background: var(--bg-quaternary);
    margin: 20px auto;
    padding: 30px;
    border: 2px solid var(--accent-primary);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    top: 0;
    display: flex;
    flex-direction: column;
}

/* Scrollbar styling for modal content */
.upload-content::-webkit-scrollbar,
.video-modal-content::-webkit-scrollbar,
.donation-content::-webkit-scrollbar,
.auth-content::-webkit-scrollbar,
.profile-content::-webkit-scrollbar,
.dashboard-content::-webkit-scrollbar,
.settings-content::-webkit-scrollbar {
    width: 8px;
}

.upload-content::-webkit-scrollbar-track,
.video-modal-content::-webkit-scrollbar-track,
.donation-content::-webkit-scrollbar-track,
.auth-content::-webkit-scrollbar-track,
.profile-content::-webkit-scrollbar-track,
.dashboard-content::-webkit-scrollbar-track,
.settings-content::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.upload-content::-webkit-scrollbar-thumb,
.video-modal-content::-webkit-scrollbar-thumb,
.donation-content::-webkit-scrollbar-thumb,
.auth-content::-webkit-scrollbar-thumb,
.profile-content::-webkit-scrollbar-thumb,
.dashboard-content::-webkit-scrollbar-thumb,
.settings-content::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

.upload-content::-webkit-scrollbar-thumb:hover,
.video-modal-content::-webkit-scrollbar-thumb:hover,
.donation-content::-webkit-scrollbar-thumb:hover,
.auth-content::-webkit-scrollbar-thumb:hover,
.profile-content::-webkit-scrollbar-thumb:hover,
.dashboard-content::-webkit-scrollbar-thumb:hover,
.settings-content::-webkit-scrollbar-thumb:hover {
    background: var(--patriot-red);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #dc3545;
}

.upload-area {
    border: 3px dashed #dc3545;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin: 20px 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    background: rgba(220, 53, 69, 0.1);
    border-color: #b02a37;
}

.upload-area.dragover {
    background: rgba(255, 107, 53, 0.2);
    border-color: #b02a37;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.upload-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.upload-placeholder small {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #dc3545;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px var(--shadow-primary);
}

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

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Video Feed */
.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.feed-title h2 {
    color: var(--accent-primary);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.feed-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.filter-tabs {
    display: flex;
    gap: 10px;
}

.tab {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 20px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.tab.active,
.tab:hover {
    background: linear-gradient(45deg, #dc3545, #b02a37);
    border-color: transparent;
    color: white;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

/* Pagination */
.pagination-container {
    margin: 40px 0;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-primary);
}

.pagination-info {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 100px;
}

.page-numbers {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.page-number {
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-secondary);
    border-radius: 5px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.page-number:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.page-number.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    font-weight: bold;
}

.page-number.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.items-per-page {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.items-per-page label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.items-per-page select {
    padding: 5px 10px;
    background: var(--bg-quaternary);
    border: 1px solid var(--border-secondary);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.video-card {
    background: var(--bg-tertiary);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-primary);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
    border-color: #dc3545;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background: #333;
    overflow: hidden;
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    font-size: 1rem;
    line-height: 1.4;
}

.video-meta {
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-stats {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.stat {
    color: var(--text-secondary);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Video Modal */
.video-container {
    margin-bottom: 20px;
}

.video-container video {
    width: 100%;
    max-height: 400px;
    border-radius: 10px;
}

.video-actions {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.action-btn {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-secondary);
    border-radius: 20px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.action-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    border-color: var(--accent-primary);
}

.evidence-images {
    margin-top: 20px;
}

.evidence-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.evidence-item {
    text-align: center;
}

.evidence-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 2px solid var(--border-primary);
}

.evidence-image:hover {
    transform: scale(1.05);
    border-color: var(--accent-primary);
}

.evidence-item small {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Donation Modal */
.donation-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.donate-btn {
    padding: 15px;
    background: linear-gradient(45deg, #dc3545, #b02a37);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.custom-amount {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.custom-amount input {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
    padding: 30px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-main p {
    margin: 0 0 5px 0;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--accent-primary) !important;
}

/* Footer section links styling */
.footer-section a {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    display: block;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-section a:hover {
    color: var(--accent-primary) !important;
}

/* Dark theme footer link fixes */
body.dark-theme .footer-links a,
body[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-links a,
.dark-theme .footer-links a,
body.dark-theme .footer-section a,
body[data-theme="dark"] .footer-section a,
[data-theme="dark"] .footer-section a,
.dark-theme .footer-section a {
    color: var(--text-secondary) !important;
}

body.dark-theme .footer-links a:hover,
body[data-theme="dark"] .footer-links a:hover,
[data-theme="dark"] .footer-links a:hover,
.dark-theme .footer-links a:hover,
body.dark-theme .footer-section a:hover,
body[data-theme="dark"] .footer-section a:hover,
[data-theme="dark"] .footer-section a:hover,
.dark-theme .footer-section a:hover {
    color: var(--accent-primary) !important;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #dc3545;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .sub-tagline {
        font-size: 0.7rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .feed-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .upload-content,
    .video-modal-content,
    .donation-content {
        margin: 10px auto;
        padding: 20px;
        width: 95%;
        max-height: calc(100vh - 20px);
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .upload-area {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    /* Responsive Pagination */
    .pagination-container {
        padding: 20px 15px;
    }
    
    .pagination-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .pagination-btn {
        min-width: 120px;
        width: 100%;
        max-width: 200px;
    }
    
    .page-numbers {
        justify-content: center;
        max-width: 100%;
        overflow-x: auto;
        padding: 5px 0;
    }
    
    .page-number {
        min-width: 35px;
        font-size: 13px;
        padding: 6px 8px;
    }
    
    .items-per-page {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .pagination-info {
        font-size: 0.8rem;
    }
}

/* Video URL Embedding Styles */
.embedded-video-container {
    width: 100%;
    margin-bottom: 20px;
}

.embedded-video-container iframe,
.embedded-video-container video {
    width: 100%;
    max-height: 400px;
    border-radius: 10px;
}

/* Related Images Gallery */
.related-images-section {
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    border-left: 4px solid var(--accent-primary);
}

.related-images-section h4 {
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.evidence-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--border-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.evidence-image:hover {
    border-color: var(--accent-primary);
    transform: scale(1.02);
}

/* Detailed Incident Information */
.detailed-incident-info {
    margin: 20px 0;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.incident-detail-item {
    margin: 15px 0;
    padding: 10px;
    border-left: 3px solid var(--accent-secondary);
    background: var(--bg-tertiary);
    border-radius: 5px;
}

.incident-detail-label {
    font-weight: bold;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 5px;
}

.incident-detail-value {
    color: var(--text-primary);
    line-height: 1.5;
}

/* Shareable Short Version */
.short-version-section {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border-radius: 10px;
    border: 2px solid var(--accent-primary);
}

.short-version-section h4 {
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-align: center;
}

.short-preview {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    border: 1px solid var(--border-primary);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-style: italic;
}

.short-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.short-generated {
    background: var(--bg-quaternary);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--accent-primary);
}

.short-content {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.short-content .highlight {
    background: var(--accent-primary);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
}

.video-platform-indicator {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Short Video Styling */
.video-card.short-video {
    border-left: 4px solid #ff6b35;
    position: relative;
}

.video-card.short-video::before {
    content: '🎬 SHORT';
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    z-index: 10;
}

.short-video .video-thumbnail {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
}

/* Shorts Grid Layout (when viewing shorts only) */
.shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.shorts-grid .video-card {
    max-width: 250px;
    margin: 0 auto;
}

.shorts-grid .video-thumbnail {
    height: 280px;
}

/* Shorts section header */
.shorts-header {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border-radius: 15px;
}

.shorts-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.shorts-header p {
    margin: 5px 0 0 0;
    opacity: 0.9;
}

.severity-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
}

.severity-threat { background: #dc3545; }
.severity-harassment { background: #fd7e14; }
.severity-disruption { background: #ffc107; color: #000; }
.severity-vandalism { background: #6f42c1; }
.severity-other { background: #6c757d; }

.incident-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.incident-details-grid input,
.incident-details-grid select {
    padding: 8px;
    border: 1px solid var(--border-secondary);
    border-radius: 4px;
    font-size: 0.9rem;
}

.evidence-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.evidence-preview-item {
    text-align: center;
}

.evidence-preview-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid var(--border-secondary);
}

.evidence-preview-item small {
    display: block;
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: 0.7rem;
}

.video-tags {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tag {
    background: var(--patriot-blue);
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.incident-tags {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.incident-details p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.incident-details strong {
    color: var(--patriot-blue);
}

.required {
    color: var(--patriot-red);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    background: #28a745;
}

.notification.error {
    background: #dc3545;
}

.notification.info {
    background: var(--patriot-blue);
}

/* Session Warning Styles */
.session-warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-quaternary);
    border: 2px solid var(--accent-primary);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    min-width: 350px;
    max-width: 500px;
}

.session-warning-content h4 {
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-align: center;
}

.session-warning-content p {
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1rem;
}

.session-warning-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.session-warning-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .incident-details-grid {
        grid-template-columns: 1fr;
    }
    
    .evidence-preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .video-tags {
        justify-content: center;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* Crypto Donation Styles */
.crypto-donation-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.crypto-donation-section h4 {
    color: var(--patriot-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.crypto-wallet-display {
    margin-bottom: 1rem;
}

.crypto-wallet-display label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.wallet-copy-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.wallet-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    background: white;
    color: var(--text-dark);
}

.wallet-input.platform-wallet {
    font-size: 0.85rem;
}

.copy-btn {
    padding: 0.75rem 1.5rem;
    background: var(--patriot-red);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background: #b02a37;
}

.crypto-note {
    color: #6c757d;
    font-size: 0.85rem;
    display: block;
    margin-top: 0.25rem;
}

.form-note {
    color: #6c757d;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.25rem;
}

/* Updated Footer for Crypto */
.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.footer-center {
    text-align: center;
}

.creator-donation h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1rem;
}

.platform-wallet-container label {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .wallet-copy-container {
        flex-direction: column;
    }
    
    .copy-btn {
        align-self: stretch;
    }
}

/* Dark Theme */
.dark-theme {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #3d3d3d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-dark: #ffffff;
    --border-primary: #404040;
    --border-secondary: #505050;
}

/* Dark theme header and navigation */
body.dark-theme .header,
body[data-theme="dark"] .header,
[data-theme="dark"] .header,
.dark-theme .header {
    background: var(--bg-secondary);
    border-bottom: 3px solid var(--patriot-red);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Dark theme navigation buttons */
body.dark-theme .btn-secondary,
body[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .btn-secondary,
.dark-theme .btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-secondary);
}

body.dark-theme .btn-secondary:hover,
body[data-theme="dark"] .btn-secondary:hover,
[data-theme="dark"] .btn-secondary:hover,
.dark-theme .btn-secondary:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Dark theme primary button override for better contrast */
body.dark-theme .btn-primary,
body[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-primary,
.dark-theme .btn-primary {
    background: var(--patriot-red);
    color: white;
    border: 1px solid var(--patriot-red);
}

body.dark-theme .btn-primary:hover,
body[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .btn-primary:hover,
.dark-theme .btn-primary:hover {
    background: #b02a37;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-primary);
}

.dark-theme .main {
    background: var(--bg-primary);
}

.dark-theme .video-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
}

.dark-theme .video-card:hover {
    border-color: var(--patriot-red);
}

.dark-theme .modal-content,
.dark-theme .auth-content,
.dark-theme .upload-content,
.dark-theme .video-modal-content,
.dark-theme .settings-content {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.dark-theme input,
.dark-theme textarea,
.dark-theme select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-secondary);
    color: var(--text-primary);
}

.dark-theme input:focus,
.dark-theme textarea:focus,
.dark-theme select:focus {
    border-color: var(--patriot-red);
}

.dark-theme .footer {
    background: var(--bg-secondary);
}

.dark-theme .crypto-donation-section {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-secondary);
}

.dark-theme .wallet-input {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-secondary);
}

.dark-theme .evidence-preview-item img {
    border: 2px solid var(--border-secondary);
}
    
    .video-actions {
        justify-content: center;
    }
}

/* Admin Panel Styles */
.admin-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.admin-content {
    position: relative;
    background: var(--bg-primary);
    margin: 2% auto;
    padding: 30px;
    border-radius: 15px;
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.admin-content h2 {
    color: var(--patriot-red);
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-primary);
}

.admin-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.admin-tab.active {
    color: var(--patriot-red);
    border-bottom-color: var(--patriot-red);
}

.admin-tab:hover:not(.active) {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.admin-tab-content {
    padding: 20px 0;
}

.admin-filter-controls,
.admin-user-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.admin-filter-controls select,
.admin-user-controls input {
    padding: 10px 15px;
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.admin-content-grid,
.admin-users-list,
.admin-reports-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-content-item,
.admin-user-item,
.admin-report-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.admin-content-item:hover,
.admin-user-item:hover,
.admin-report-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.1);
    border-color: var(--patriot-red);
}

.admin-video-preview {
    width: 120px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.admin-video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-secondary);
    border-radius: 8px;
}

.admin-content-info,
.admin-user-info,
.admin-report-info {
    flex: 1;
}

.admin-content-info h4,
.admin-user-info h4,
.admin-report-info h4 {
    margin: 0 0 5px 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.admin-meta,
.admin-user-email,
.admin-user-meta,
.admin-report-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 5px 0;
}

.admin-description,
.admin-report-details {
    color: var(--text-primary);
    margin: 10px 0 5px 0;
    line-height: 1.4;
}

.admin-actions,
.admin-user-actions,
.admin-report-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.admin-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn {
    background: var(--patriot-blue);
    color: white;
}

.view-btn:hover {
    background: #1a365d;
}

.flag-btn,
.ban-btn {
    background: #ffc107;
    color: #000;
}

.flag-btn:hover,
.ban-btn:hover {
    background: #e0a800;
}

.unban-btn {
    background: #28a745;
    color: white;
}

.unban-btn:hover {
    background: #218838;
}

.delete-btn {
    background: var(--patriot-red);
    color: white;
}

.delete-btn:hover {
    background: #b02a37;
}

.promote-btn {
    background: #6f42c1;
    color: white;
}

.promote-btn:hover {
    background: #5a35a0;
}

.resolve-btn {
    background: #28a745;
    color: white;
}

.resolve-btn:hover {
    background: #218838;
}

.resolve-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.flagged-badge,
.banned-badge {
    background: var(--patriot-red);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 5px 5px 0 0;
    display: inline-block;
}

.reports-badge,
.admin-badge,
.resolved-badge,
.pending-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 5px 5px 0 0;
    display: inline-block;
}

.reports-badge {
    background: #ffc107;
    color: #000;
}

.admin-badge {
    background: var(--patriot-blue);
    color: white;
}

.resolved-badge {
    background: #28a745;
    color: white;
}

.pending-badge {
    background: #ffc107;
    color: #000;
}

.admin-no-content {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 40px 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 2px dashed var(--border-primary);
}

/* Admin Panel Dark Theme */
.dark-theme .admin-content {
    background: var(--bg-secondary);
}

.dark-theme .admin-tab {
    color: var(--text-secondary);
}

.dark-theme .admin-tab.active {
    color: var(--patriot-red);
}

.dark-theme .admin-tab:hover:not(.active) {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.dark-theme .admin-content-item,
.dark-theme .admin-user-item,
.dark-theme .admin-report-item {
    background: var(--bg-tertiary);
    border-color: var(--border-secondary);
}

.dark-theme .admin-content-item:hover,
.dark-theme .admin-user-item:hover,
.dark-theme .admin-report-item:hover {
    border-color: var(--patriot-red);
}

.dark-theme .video-placeholder {
    background: var(--bg-primary);
}

.dark-theme .admin-no-content {
    background: var(--bg-primary);
    border-color: var(--border-secondary);
}

.dark-theme .admin-filter-controls select,
.dark-theme .admin-user-controls input {
    background: var(--bg-tertiary);
    border-color: var(--border-secondary);
    color: var(--text-primary);
}

/* Dark theme dropdown fixes - supporting both theme systems */
body.dark-theme .user-dropdown,
body[data-theme="dark"] .user-dropdown,
html[data-theme="dark"] .user-dropdown,
[data-theme="dark"] .user-dropdown,
.dark-theme .user-dropdown {
    background: #2d2d2d !important;
    border: 1px solid #dc3545 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

body.dark-theme .user-dropdown.show,
body[data-theme="dark"] .user-dropdown.show,
html[data-theme="dark"] .user-dropdown.show,
[data-theme="dark"] .user-dropdown.show,
.dark-theme .user-dropdown.show {
    background: #2d2d2d !important;
}

body.dark-theme .user-dropdown a,
body[data-theme="dark"] .user-dropdown a,
html[data-theme="dark"] .user-dropdown a,
[data-theme="dark"] .user-dropdown a,
.dark-theme .user-dropdown a {
    color: #ffffff !important;
    background: transparent !important;
}

body.dark-theme .user-dropdown a:hover,
body[data-theme="dark"] .user-dropdown a:hover,
html[data-theme="dark"] .user-dropdown a:hover,
[data-theme="dark"] .user-dropdown a:hover,
.dark-theme .user-dropdown a:hover {
    background: rgba(220, 53, 69, 0.2) !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .admin-content {
        margin: 5% auto;
        padding: 20px;
        width: 98%;
    }
    
    .admin-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .admin-tab {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .admin-content-item,
    .admin-user-item,
    .admin-report-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .admin-video-preview {
        width: 100%;
        height: 200px;
    }
    
    .admin-actions,
    .admin-user-actions,
    .admin-report-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .admin-filter-controls,
    .admin-user-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
}