:root {
    --primary-bg: #0d1521;
    --secondary-bg: #151d2e;
    --card-bg: #1a2332;
    --hover-bg: #202940;
    --border-color: #2a3547;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --accent-primary: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: #60a5fa;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.container-narrow {
    max-width: 800px;
}

.container-wide {
    max-width: 1600px;
}

/* Navbar */
.navbar {
    background-color: rgba(21, 29, 46, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.3s;
}


.logo-img {
    height: 40px;
    width: auto;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    color: var(--accent-primary);
    font-size: 28px;
}

.logo strong {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 8px;
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    background-color: var(--hover-bg);
    color: var(--text-primary);
}

.nav-link.active {
    background-color: var(--accent-primary);
    color: white;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-danger, .btn-success, .btn-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--hover-bg);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-width: 220px;
    padding: 8px;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: dropdownFade 0.2s ease;
}

.dropdown-menu.show {
    display: block;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: var(--hover-bg);
}

.dropdown-item.admin-link {
    color: var(--warning);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 200;
}

.mobile-menu.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: var(--secondary-bg);
    padding: 24px;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-links {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    background: var(--hover-bg);
}

.mobile-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 12px 0;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px 0;
}

/* Page Header */
.page-header {
    margin-bottom: 40px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
}

/* Hero Section */
.hero {
    text-align: center;
    /*padding: 80px 0;
    background: linear-gradient(180deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    border-radius: 16px;
    margin-top: 0px; */
    margin-bottom: 60px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Statistics */
.stats-section {
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.stat-card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    font-size: 48px;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-secondary);
}

/* Search Bar */
.search-bar {
    max-width: 800px;
    margin: 0 auto 40px;
}

.search-container {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 56px 16px 20px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-primary);
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: var(--accent-hover);
}

/* Filters */
.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.filter-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.filter-select {
    padding: 10px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Card */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-primary);
}

.card-banner {
    width: 100%;
    height: 120px;
    background: var(--gradient);
    position: relative;
}

.card-icon {
    position: absolute;
    bottom: -40px;
    left: 20px;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    border: 4px solid var(--card-bg);
    object-fit: cover;
}

.card-icon-placeholder {
    position: absolute;
    bottom: -40px;
    left: 20px;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    border: 4px solid var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    font-size: 32px;
    font-weight: 700;
}

.card-content {
    padding: 52px 20px 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.review-card {
    padding: 20px;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.card-rating-row {
    display: flex;
    justify-content: flex-end;

    padding: 4px 4px 0 4px;
    margin-bottom: -8px;
}


.card-rating {
    background: var(--card-bg);
    padding: 6px 10px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-size: 13px;
    font-weight: 600;
    color: var(--warning);
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 14px;
}

.stat i {
    color: var(--accent-primary);
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

/* Detail Page */
.detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.detail-header {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 32px;
}

.detail-banner {
    width: 100%;
    height: 200px;
    background: var(--gradient);
    border-radius: 12px;
    margin-bottom: 32px;
    position: relative;
}

.detail-icon {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    border: 4px solid var(--card-bg);
    object-fit: cover;
    margin-bottom: 24px;
}

.detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.detail-title {
    font-size: 32px;
    font-weight: 700;
}

.detail-brief {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 24px;
}

.detail-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.detail-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.detail-stat-value {
    font-size: 24px;
    font-weight: 700;
}

.detail-stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.detail-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
}

.detail-section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.detail-description {
    color: var(--text-secondary);
    line-height: 1.8;
    white-space: pre-wrap;
}

/* Forms */
.form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-help {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 13px;
}

.form-error {
    color: var(--danger);
    font-size: 13px;
    margin-top: 8px;
}

.form-actions {
    display: flex;
    gap: 12px;
}

/* Auth Pages */
.auth-container {
    max-width: 500px;
    margin: 80px auto;
}

.auth-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-secondary);
}

.small-divider {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 6px 0;
    color: var(--text-muted);
    font-size: 3px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 24px;
    background: white;
    color: #1f2937;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.oauth-btn:hover {
    background: #f3f4f6;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Alert */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-light);
}

/* Info Box */
.info-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 12px;
}

.info-box-icon {
    color: var(--accent-primary);
    font-size: 20px;
}

.info-box-content {
    color: var(--text-secondary);
}

.info-box-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

/* Verification Box */
.verification-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
}

.verification-step {
    margin-bottom: 24px;
}

.verification-step:last-child {
    margin-bottom: 0;
}

.verification-step-title {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.verification-step-description {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.code-box {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.code-text {
    font-family: 'Courier New', monospace;
    color: var(--accent-light);
    font-size: 16px;
}

/* Tag Input */
.tag-container {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    min-height: 50px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    color: var(--accent-light);
    font-size: 14px;
    margin: 4px;
}

.tag-item button {
    background: none;
    border: none;
    color: var(--accent-light);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.tag-item button:hover {
    color: var(--danger);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 300;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    margin-bottom: 24px;
}

.modal-footer {
    display: flex;
    gap: 12px;
}

.seo-content {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.seo-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  transition: max-height 0.3s ease;
}

.seo-text.collapsed {
  max-height: 120px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 60%, transparent);
}

.seo-toggle {
  background: none;
  border: none;
  padding: 0;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--accent-primary);
  cursor: pointer;
}

.seo-toggle:hover {
  text-decoration: underline;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 10px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
}

.pagination-btn:hover {
    background: var(--hover-bg);
    border-color: var(--accent-primary);
}

.pagination-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Table */
.table-container {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead tr {
    border-bottom: 1px solid var(--border-color);
}

.table th {
    padding: 12px;
    text-align: left;
    color: var(--text-secondary);
    font-weight: 600;
}

.table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.table td {
    padding: 12px;
}

.table a {
    color: var(--text-primary);
    text-decoration: none;
}

.table a:hover {
    color: var(--accent-primary);
}

/* Status Badge */
.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state-icon {
    font-size: 64px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.empty-state-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.empty-state-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Star Rating */
.star-rating {
    color: var(--warning);
    font-size: 14px;
    letter-spacing: 2px;
}

.star-rating-large {
    color: var(--warning);
    font-size: 24px;
    letter-spacing: 4px;
}

.star-selector {
    display: flex;
    gap: 8px;
    font-size: 32px;
    cursor: pointer;
}

.star-selector i {
    color: var(--text-muted);
    transition: all 0.2s;
}

.star-selector i:hover,
.star-selector i.fas {
    color: var(--warning);
}

/* Toast */
.toast-container {
    position: fixed;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 280px;
    max-width: 420px;
    padding: 12px 14px;
    border-radius: 6px;
    animation: toastIn 0.25s ease-out;
}

.toast i {
    margin-top: 2px;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateX(10px);
    }
}

/* Footer */
.footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 24px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.footer-bottom p {
    margin: 8px 0;
}

.footer-bottom i {
    color: var(--danger);
}

/* Legal Header */
.legal-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.legal-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.legal-meta {
    color: var(--text-muted);
    font-size: 14px;
    font-style: italic;
}

/* Legal Content */
.legal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    line-height: 1.8;
}

.legal-intro {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    padding: 24px;
    background: rgba(59, 130, 246, 0.05);
    border-left: 4px solid var(--accent-primary);
    border-radius: 8px;
}

.legal-intro p:last-child {
    margin-bottom: 0;
}

/* Legal Sections */
.legal-section {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-primary);
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 16px;
}

.legal-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 12px;
}

.legal-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-section ul {
    margin-bottom: 20px;
    padding-left: 32px;
}

.legal-section ul li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.legal-section ul li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Guidelines Specific Styles */
.guideline-highlight {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    margin-top: 24px;
}

.guideline-highlight i {
    font-size: 48px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.guideline-highlight strong {
    display: block;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.guideline-highlight p {
    color: var(--text-secondary);
    margin: 0;
}

.guideline-do {
    list-style: none;
    padding-left: 0;
}

.guideline-do li {
    position: relative;
    padding-left: 32px;
    color: var(--success);
}

.guideline-do li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--success);
    font-size: 18px;
}

.guideline-dont {
    list-style: none;
    padding-left: 0;
}

.guideline-dont li {
    position: relative;
    padding-left: 32px;
    color: var(--danger);
}

.guideline-dont li::before {
    content: '✗';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--danger);
    font-size: 18px;
}

.guideline-category {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.guideline-category h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 18px;
}

.guideline-category h4 i {
    font-size: 20px;
}

.guideline-category ul {
    margin-bottom: 0;
}

.guideline-closing {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
}

.guideline-closing i {
    font-size: 48px;
    flex-shrink: 0;
}

.guideline-closing strong {
    display: block;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.guideline-closing p {
    color: var(--text-secondary);
    margin: 0;
}

/* Legal Footer */
.legal-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.legal-footer p {
    font-size: 16px;
    color: var(--text-secondary);
    font-style: italic;
}

.text-danger {
    color: var(--danger);
}

.text-success {
    color: var(--success);
}

.text-warning {
    color: var(--warning);
}

/* User */
a[href^="/user"] {
    transition: all 0.2s ease;
}

a[href^="/user"]:hover {
    opacity: 0.8;
}

a[href^="/user"] img,
a[href^="/user"] div[style*="border-radius: 50%"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a[href^="/user"]:hover img,
a[href^="/user"]:hover div[style*="border-radius: 50%"] {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.user-profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.user-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-color);
    flex-shrink: 0;
}

.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 24px;
    margin-top: 16px;
}

.user-stat-item {
    text-align: center;
}

.user-stat-label {
    color: var(--text-muted);
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.user-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    gap: 24px;
    justify-content: center;
}


/* Responsive */
@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-primary {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .detail-title-row {
        flex-direction: column;
    }
    
    .detail-stats {
        gap: 16px;
    }
    
    .form-actions {
        flex-direction: column;
    }

        .legal-content {
        padding: 24px;
    }

    .user-profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .user-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-title {
        font-size: 32px;
    }

    .legal-section h2 {
        font-size: 24px;
    }

    .legal-section h3 {
        font-size: 18px;
    }

    .guideline-highlight,
    .guideline-closing {
        flex-direction: column;
        text-align: center;
    }

    .guideline-highlight i,
    .guideline-closing i {
        font-size: 36px;
    }
}