:root {
    --bg-primary: #0a1628;
    --bg-secondary: #0f1f36;
    --bg-card: #111d31;
    --bg-card-hover: #152540;
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255,255,255,0.08);
    --border-light: rgba(255,255,255,0.15);
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --nav-height: 70px;
    --topbar-height: 60px;
}

/* Light Mode */
body.light-mode {
    --bg-primary: #f3f4f6;
    --bg-secondary: #e5e7eb;
    --bg-card: #ffffff;
    --bg-card-hover: #f9fafb;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --border-color: rgba(0,0,0,0.08);
    --border-light: rgba(0,0,0,0.12);
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s ease, color 0.3s ease;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Top Bar */
.top-bar {
    position: fixed; top: 0; left: 0; right: 0; height: var(--topbar-height);
    background: rgba(var(--bg-primary), 0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 12px; z-index: 1000;
}
.top-bar-left { display: flex; align-items: center; gap: 8px; }
.app-logo {
    display: flex; align-items: center; gap: 8px; font-weight: 700;
    font-size: 1rem; color: var(--primary); cursor: pointer;
}
.logo-icon { color: var(--primary); font-size: 0.9rem; }
.top-bar-right { display: flex; align-items: center; gap: 4px; }

/* Icons & Buttons */
.top-icon-btn {
    width: 40px; height: 40px; border-radius: 50%; background: transparent;
    color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; transition: all 0.2s; position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.top-icon-btn i { pointer-events: none; }
.top-icon-btn:hover { background: var(--bg-card); color: var(--text-primary); }
.top-icon-btn .badge {
    position: absolute; top: 2px; right: 2px; width: 18px; height: 18px;
    background: var(--primary); color: white; font-size: 0.65rem;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700;
}

.user-avatar-small {
    width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; color: white; cursor: pointer;
}
.sign-in-btn {
    background: transparent; color: var(--text-secondary); font-size: 0.8rem;
    font-weight: 600; padding: 8px 14px; border-radius: 20px;
    border: 1px solid var(--border-light); transition: all 0.2s;
    display: flex; align-items: center; gap: 6px;
}
.sign-in-btn:hover { background: var(--bg-card); color: var(--text-primary); }

/* Main Content */
.main-content {
    padding-top: var(--topbar-height); padding-bottom: calc(var(--nav-height) + 20px);
    min-height: 100vh;
}
.page { padding: 16px; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Hero */
.hero { text-align: center; padding: 30px 0 24px; position: relative; }
.hero::before {
    content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
    width: 300px; height: 300px; background: radial-gradient(circle, rgba(16,185,129,0.15), transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.community-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2);
    padding: 6px 16px; border-radius: 20px; font-size: 0.75rem; color: var(--primary); margin-bottom: 20px;
}
.hero h1 { font-size: 1.75rem; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p {
    color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6;
    margin-bottom: 20px; max-width: 500px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.btn-primary {
    background: var(--primary); color: white; font-weight: 600; font-size: 0.95rem;
    padding: 14px 28px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: all 0.2s;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary {
    background: transparent; color: var(--text-primary); font-weight: 600; font-size: 0.95rem;
    padding: 14px 28px; border-radius: 12px; border: 1px solid var(--border-light); transition: all 0.2s;
}
.btn-secondary:hover { background: var(--bg-card); border-color: var(--primary); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; }
.stat-item {
    text-align: center; padding: 16px 8px; background: var(--bg-card);
    border-radius: var(--radius); border: 1px solid var(--border-color);
}
.stat-number { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.7rem; color: var(--text-secondary); margin-top: 4px; }

/* Sections */
.section { margin-bottom: 28px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-header h2 { font-size: 1.15rem; font-weight: 700; }
.view-all { color: var(--primary); font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 4px; cursor: pointer; }

/* Mission Card */
.mission-card {
    background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(59,130,246,0.08));
    border: 1px solid rgba(16,185,129,0.15); border-radius: var(--radius);
    padding: 20px; margin-bottom: 28px;
}
.mission-card h3 { font-size: 1.05rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.mission-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.7; }

/* Developer About Card */
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 28px;
}
.about-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.about-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}
.about-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.about-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.about-bio {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 16px;
}
.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.skill-tag {
    background: rgba(16,185,129,0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Resource Cards */
.resource-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 18px; margin-bottom: 10px;
    cursor: pointer; transition: all 0.2s; position: relative;
}
.resource-card:hover { background: var(--bg-card-hover); border-color: var(--border-light); transform: translateY(-2px); }
.resource-tag {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-size: 0.65rem; font-weight: 600; margin-bottom: 8px;
}
.tag-growth { background: rgba(236,72,153,0.15); color: #f472b6; }
.tag-first-job { background: rgba(16,185,129,0.15); color: #34d399; }
.tag-tech-selection { background: rgba(245,158,11,0.15); color: #fbbf24; }
.tag-portfolio { background: rgba(139,92,246,0.15); color: #a78bfa; }
.tag-tools { background: rgba(59,130,246,0.15); color: #60a5fa; }
.tag-best-practices { background: rgba(239,68,68,0.15); color: #f87171; }
.tag-frontend { background: rgba(16,185,129,0.15); color: #34d399; }
.tag-backend { background: rgba(139,92,246,0.15); color: #a78bfa; }

.resource-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.resource-card p {
    color: var(--text-secondary); font-size: 0.8rem; line-height: 1.5;
    margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.resource-meta { display: flex; align-items: center; justify-content: space-between; }
.read-time { color: var(--text-muted); font-size: 0.75rem; display: flex; align-items: center; gap: 4px; }
.bookmark-btn {
    width: 32px; height: 32px; border-radius: 8px; background: transparent;
    color: var(--text-muted); display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.bookmark-btn:hover, .bookmark-btn.saved { color: var(--primary); background: rgba(16,185,129,0.1); }

/* Topic Request CTA */
.topic-cta {
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(59,130,246,0.05));
    border: 1px solid rgba(16,185,129,0.2); border-radius: var(--radius);
    padding: 18px; display: flex; align-items: center; gap: 14px;
    cursor: pointer; transition: all 0.2s;
}
.topic-cta:hover { background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(59,130,246,0.1)); }
.topic-cta-icon {
    width: 40px; height: 40px; border-radius: 10px; background: rgba(16,185,129,0.15);
    display: flex; align-items: center; justify-content: center; color: var(--primary);
    font-size: 1.1rem; flex-shrink: 0;
}
.topic-cta-text h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.topic-cta-text p { font-size: 0.75rem; color: var(--text-secondary); }
.topic-cta-arrow { margin-left: auto; color: var(--text-muted); }

/* Resource Library */
.page-header { margin-bottom: 20px; }
.page-header h1 { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.page-header p { color: var(--text-secondary); font-size: 0.85rem; }
.search-box { position: relative; margin-bottom: 14px; }
.search-box input {
    width: 100%; padding: 12px 14px 12px 40px; background: var(--bg-card);
    border: 1px solid var(--border-color); border-radius: 12px; color: var(--text-primary);
    font-size: 0.85rem; outline: none; transition: border-color 0.2s;
}
.search-box input:focus { border-color: var(--primary); }
.search-box input::placeholder { color: var(--text-muted); }
.search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.filter-chips {
    display: flex; gap: 6px; flex-wrap: nowrap; margin-bottom: 16px;
    overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch;
}
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip {
    padding: 7px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
    background: var(--bg-card); color: var(--text-secondary);
    border: 1px solid var(--border-color); white-space: nowrap; transition: all 0.2s; flex-shrink: 0;
}
.filter-chip.active { background: var(--primary); color: white; border-color: var(--primary); }
.filter-chip:hover:not(.active) { border-color: var(--primary); color: var(--text-primary); }
.resources-count { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 12px; }

/* Resource Detail */
.back-btn {
    display: flex; align-items: center; gap: 8px; color: var(--text-secondary);
    font-size: 0.85rem; font-weight: 500; margin-bottom: 18px; background: none; padding: 8px 0;
}
.back-btn:hover { color: var(--text-primary); }
.detail-header { margin-bottom: 20px; }
.detail-tag {
    display: inline-block; padding: 4px 14px; border-radius: 20px;
    font-size: 0.7rem; font-weight: 600; margin-bottom: 10px;
}
.detail-header h1 { font-size: 1.35rem; font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.detail-meta { display: flex; align-items: center; gap: 14px; color: var(--text-muted); font-size: 0.8rem; }
.detail-meta span { display: flex; align-items: center; gap: 4px; }
.detail-actions { display: flex; gap: 8px; margin-left: auto; }
.detail-content { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; }
.detail-content h2 { color: var(--text-primary); font-size: 1.1rem; font-weight: 700; margin: 22px 0 10px; }
.detail-content h3 { color: var(--text-primary); font-size: 1rem; font-weight: 600; margin: 18px 0 6px; }
.detail-content p { margin-bottom: 14px; }
.detail-content ul, .detail-content ol { margin: 10px 0; padding-left: 18px; }
.detail-content li { margin-bottom: 6px; }
.detail-content .phase-title { color: var(--primary); font-weight: 700; font-size: 0.95rem; margin: 22px 0 6px; }
.detail-content .checklist { list-style: none; padding-left: 0; }
.detail-content .checklist li { position: relative; padding-left: 22px; }
.detail-content .checklist li::before { content: '[ ]'; position: absolute; left: 0; color: var(--text-muted); }
.detail-content pre {
    background: var(--bg-primary); border: 1px solid var(--border-color);
    border-radius: 10px; padding: 16px; margin: 12px 0; overflow-x: auto; font-size: 0.8rem;
}
.detail-content code {
    background: rgba(16,185,129,0.1); color: var(--primary-light);
    padding: 2px 6px; border-radius: 4px; font-size: 0.85rem;
}
.detail-content pre code { background: none; padding: 0; color: var(--text-secondary); }

/* Feedback */
.feedback-section {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 18px; margin-top: 28px; text-align: center;
}
.feedback-section h4 { font-size: 0.95rem; margin-bottom: 14px; }
.feedback-buttons { display: flex; gap: 10px; justify-content: center; }
.feedback-btn {
    padding: 10px 18px; border-radius: 10px; font-size: 0.8rem; font-weight: 600;
    display: flex; align-items: center; gap: 6px; transition: all 0.2s;
}
.feedback-btn.helpful { background: rgba(16,185,129,0.1); color: var(--text-secondary); border: 1px solid var(--border-color); }
.feedback-btn.helpful.selected { background: var(--primary); color: white; border-color: var(--primary); }
.feedback-btn.not-helpful { background: rgba(239,68,68,0.1); color: var(--text-secondary); border: 1px solid var(--border-color); }
.feedback-btn.not-helpful.selected { background: #ef4444; color: white; border-color: #ef4444; }

/* Login */
.login-page {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 75vh; text-align: center; padding: 40px 20px;
}
.login-logo {
    width: 56px; height: 56px; border-radius: 14px; background: rgba(16,185,129,0.15);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.login-logo i { font-size: 1.6rem; color: var(--primary); }
.login-page h1 { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.login-page .subtitle { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 28px; }
.google-btn {
    width: 100%; max-width: 320px; padding: 14px 24px; background: white; color: #1a1a1a;
    font-weight: 600; font-size: 0.95rem; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-bottom: 14px; transition: all 0.2s;
}
.google-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.login-note {
    color: var(--text-muted); font-size: 0.7rem; max-width: 320px; line-height: 1.5; margin-bottom: 32px;
}
.login-benefits {
    width: 100%; max-width: 320px; background: var(--bg-card);
    border: 1px solid var(--border-color); border-radius: var(--radius);
    padding: 20px; text-align: left;
}
.login-benefits h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; text-align: center; }
.benefit-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.benefit-item:last-child { margin-bottom: 0; }
.benefit-icon {
    width: 34px; height: 34px; border-radius: 10px; background: rgba(16,185,129,0.1);
    display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0;
}
.benefit-text h4 { font-size: 0.8rem; font-weight: 600; margin-bottom: 2px; }
.benefit-text p { font-size: 0.7rem; color: var(--text-secondary); }

/* Profile */
.profile-header { text-align: center; padding: 20px 0; }
.profile-avatar {
    width: 68px; height: 68px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 700; color: white; margin: 0 auto 14px;
}
.profile-header h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.profile-header p { color: var(--text-secondary); font-size: 0.8rem; }
.profile-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.profile-stat {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 14px; text-align: center;
}
.profile-stat .number { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.profile-stat .label { font-size: 0.7rem; color: var(--text-secondary); margin-top: 2px; }

/* Settings Section */
.settings-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 20px;
}
.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}
.settings-item:last-child {
    border-bottom: none;
}
.settings-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.settings-item-left i {
    width: 24px;
    color: var(--primary);
    font-size: 1rem;
}
.settings-item-left span {
    font-size: 0.9rem;
    font-weight: 500;
}
.settings-item-right {
    color: var(--text-muted);
    font-size: 0.8rem;
}
/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--text-muted);
    transition: 0.3s;
    border-radius: 24px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--primary);
}
input:checked + .slider:before {
    transform: translateX(26px);
}

/* Diary Section */
.diary-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 20px;
}
.btn-add-diary {
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-add-diary:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}
.diary-list {
    max-height: 400px;
    overflow-y: auto;
}
.diary-item {
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
}
.diary-item:hover {
    background: var(--bg-card-hover);
    transform: translateX(4px);
}
.diary-item-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary);
}
.diary-item-preview {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.diary-item-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.diary-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}
.diary-empty i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}
.diary-empty p {
    font-size: 0.85rem;
}

/* Diary Modal */
.diary-modal {
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

/* View Diary Modal */
.view-diary-modal {
    max-width: 550px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}
.view-diary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.view-diary-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary);
}
.view-diary-actions {
    display: flex;
    gap: 8px;
}
.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.icon-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}
.view-diary-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.view-diary-content {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    white-space: pre-wrap;
    word-break: break-word;
}

/* Edit Profile Modal */
.edit-profile-modal {
    max-width: 350px;
}

.profile-section {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px;
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; transition: all 0.2s;
}
.profile-section:hover { background: var(--bg-card-hover); }
.profile-section-left { display: flex; align-items: center; gap: 10px; }
.profile-section-left i { color: var(--primary); font-size: 1rem; }
.profile-section-left span { font-weight: 600; font-size: 0.85rem; }
.profile-section-right { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.sign-out-btn {
    width: 100%; padding: 13px; background: transparent; color: #ef4444;
    font-weight: 600; font-size: 0.85rem; border: 1px solid rgba(239,68,68,0.2);
    border-radius: 12px; margin-top: 20px; transition: all 0.2s;
}
.sign-out-btn:hover { background: rgba(239,68,68,0.1); }

/* Request */
.request-form {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 20px;
}
.request-intro {
    display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px;
    padding: 14px; background: rgba(16,185,129,0.05);
    border: 1px solid rgba(16,185,129,0.1); border-radius: 12px;
}
.request-intro i { color: var(--primary); font-size: 1.1rem; margin-top: 2px; }
.request-intro h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.request-intro p { color: var(--text-secondary); font-size: 0.75rem; line-height: 1.5; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); }
.form-group label .required { color: #ef4444; }
.form-input {
    width: 100%; padding: 12px 14px; background: var(--bg-primary);
    border: 1px solid var(--border-color); border-radius: 10px; color: var(--text-primary);
    font-size: 0.85rem; outline: none; transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--primary); }
.form-input::placeholder { color: var(--text-muted); }
.form-textarea {
    width: 100%; padding: 12px 14px; background: var(--bg-primary);
    border: 1px solid var(--border-color); border-radius: 10px; color: var(--text-primary);
    font-size: 0.85rem; outline: none; resize: vertical; min-height: 90px; transition: border-color 0.2s;
}
.form-textarea:focus { border-color: var(--primary); }
.form-textarea::placeholder { color: var(--text-muted); }
.submit-btn {
    width: 100%; padding: 13px; background: var(--primary); color: white;
    font-weight: 700; font-size: 0.9rem; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s;
}
.submit-btn:hover { background: var(--primary-dark); }
.submit-btn:active { transform: scale(0.98); }

/* Saved */
.saved-empty { text-align: center; padding: 50px 20px; }
.saved-empty i { font-size: 2.5rem; color: var(--text-muted); margin-bottom: 14px; }
.saved-empty h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.saved-empty p { color: var(--text-secondary); font-size: 0.8rem; }

/* Sign In Required */
.sign-in-required {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 55vh; text-align: center; padding: 40px 20px;
}
.sign-in-required .icon-circle {
    width: 72px; height: 72px; border-radius: 50%; background: rgba(16,185,129,0.1);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.sign-in-required .icon-circle i { font-size: 1.8rem; color: var(--primary); }
.sign-in-required h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.sign-in-required p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 20px; }

/* Bottom Nav */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; height: var(--nav-height);
    background: rgba(var(--bg-primary), 0.95); backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: space-around;
    padding: 0 6px; padding-bottom: env(safe-area-inset-bottom, 0); z-index: 1000;
}
.nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 8px 10px; background: transparent; color: var(--text-muted);
    font-size: 0.6rem; font-weight: 500; border-radius: 10px; transition: all 0.2s;
    position: relative; min-width: 50px;
}
.nav-item i { font-size: 1.1rem; transition: all 0.2s; }
.nav-item.active { color: var(--primary); }
.nav-item.active i { transform: scale(1.1); }
.nav-item .nav-badge {
    position: absolute; top: 0px; right: 6px; width: 15px; height: 15px;
    background: var(--primary); color: white; font-size: 0.55rem;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* Toast */
.toast {
    position: fixed; bottom: 85px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: var(--bg-card); border: 1px solid var(--border-light);
    color: var(--text-primary); padding: 10px 20px; border-radius: 12px;
    font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 8px;
    box-shadow: var(--shadow); opacity: 0; transition: all 0.3s ease;
    z-index: 2000; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast i { color: var(--primary); }

/* Modal */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    z-index: 3000; padding: 20px;
}
.modal {
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 24px; max-width: 340px; width: 100%;
}
.modal h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; text-align: center; }
.modal p { color: var(--text-secondary); font-size: 0.8rem; line-height: 1.6; margin-bottom: 16px; }
.modal ul {
    text-align: left; color: var(--text-secondary); font-size: 0.75rem;
    line-height: 1.8; margin-bottom: 16px; padding-left: 14px;
}
.btn-close-modal {
    width: 100%; padding: 11px; background: var(--bg-card);
    color: var(--text-secondary); font-weight: 600; border-radius: 10px; margin-top: 14px;
}

/* Share Modal */
.share-modal { text-align: left; }
.share-item {
    display: flex; align-items: center; gap: 10px; padding: 10px;
    background: var(--bg-primary); border-radius: 10px; margin-bottom: 14px;
}
.share-icon {
    width: 38px; height: 38px; border-radius: 10px; background: var(--bg-card);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.share-text { flex: 1; }
.share-text strong { display: block; font-size: 0.8rem; margin-bottom: 2px; }
.share-text small { color: var(--text-muted); font-size: 0.7rem; }
.copy-btn {
    width: 34px; height: 34px; border-radius: 8px; background: var(--bg-card);
    color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
}
.share-apps { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.app-btn {
    width: 42px; height: 42px; border-radius: 12px; background: var(--bg-card);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}

/* Loading */
.loading-spinner { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px; gap: 14px; }
.spinner {
    width: 36px; height: 36px; border: 3px solid var(--border-color);
    border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-spinner p { color: var(--text-muted); font-size: 0.85rem; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }

/* Responsive */
@media (min-width: 768px) {
    .main-content { max-width: 580px; margin: 0 auto; }
    .hero h1 { font-size: 2rem; }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .top-bar-right {
        gap: 2px;
    }
    .top-icon-btn {
        min-width: 40px;
        min-height: 40px;
    }
    .top-icon-btn i {
        font-size: 1rem;
    }
}
/* Admin Styles */
.admin-login-btn {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    margin-left: 4px;
}

.admin-login-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.admin-dashboard {
    padding: 20px;
}

.admin-header {
    text-align: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.admin-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.admin-stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.admin-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.admin-resources-list {
    max-height: 500px;
    overflow-y: auto;
}

.admin-resource-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
}

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

.admin-resource-info {
    flex: 1;
}

.admin-resource-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.admin-resource-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.admin-resource-actions {
    display: flex;
    gap: 8px;
}

.admin-resource-actions .icon-btn.delete {
    color: #ef4444;
}

.admin-resource-actions .icon-btn.delete:hover {
    background: rgba(239,68,68,0.1);
}

.admin-requests-list {
    max-height: 500px;
    overflow-y: auto;
}

.admin-request-item {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

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

.admin-request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-request-header strong {
    font-size: 0.9rem;
    color: var(--primary);
}

.request-category {
    background: rgba(16,185,129,0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary);
}

.admin-request-details {
    margin-bottom: 12px;
}

.admin-request-details p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-request-details p i {
    width: 16px;
    font-size: 0.7rem;
}

.admin-request-actions {
    display: flex;
    gap: 8px;
}

.btn-primary.small, .btn-secondary.small {
    padding: 6px 12px;
    font-size: 0.7rem;
}

.admin-logout-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 12px;
    margin-top: 10px;
    transition: all 0.2s;
}

.admin-logout-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.resource-modal {
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.admin-note {
    margin-top: 20px;
    padding: 12px;
    background: rgba(16,185,129,0.1);
    border-radius: 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}
/* Admin Styles */
.admin-login-btn {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    margin-left: 4px;
}

.admin-login-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.admin-dashboard {
    padding: 20px;
}

.admin-header {
    text-align: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.admin-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.admin-stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.admin-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.admin-resources-list {
    max-height: 500px;
    overflow-y: auto;
}

.admin-resource-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
}

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

.admin-resource-info {
    flex: 1;
}

.admin-resource-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.admin-resource-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.admin-resource-actions {
    display: flex;
    gap: 8px;
}

.admin-resource-actions .icon-btn.delete {
    color: #ef4444;
}

.admin-resource-actions .icon-btn.delete:hover {
    background: rgba(239,68,68,0.1);
}

.admin-requests-list {
    max-height: 500px;
    overflow-y: auto;
}

.admin-request-item {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

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

.admin-request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-request-header strong {
    font-size: 0.9rem;
    color: var(--primary);
}

.request-category {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
}

.request-category.pending {
    background: rgba(245,158,11,0.15);
    color: #fbbf24;
}

.request-category.completed {
    background: rgba(16,185,129,0.15);
    color: #34d399;
}

.admin-request-details {
    margin-bottom: 12px;
}

.admin-request-details p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-request-details p i {
    width: 16px;
    font-size: 0.7rem;
}

.admin-request-actions {
    display: flex;
    gap: 8px;
}

.btn-primary.small, .btn-secondary.small {
    padding: 6px 12px;
    font-size: 0.7rem;
}

.admin-logout-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 12px;
    margin-top: 10px;
    transition: all 0.2s;
}

.admin-logout-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.resource-modal {
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.admin-note {
    margin-top: 20px;
    padding: 12px;
    background: rgba(16,185,129,0.1);
    border-radius: 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}
/* Unified Login Switch Styles */
.login-switch-container {
    position: relative;
    margin-left: 8px;
}

.login-switch-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.login-switch-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.switch-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.login-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-width: 180px;
    overflow: hidden;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.dropdown-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.dropdown-item i {
    width: 20px;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--bg-card-hover);
}

.dropdown-item:first-child {
    border-bottom: 1px solid var(--border-color);
}

/* Admin Dashboard Styles */
.admin-dashboard {
    padding: 20px;
}

.admin-header {
    text-align: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.admin-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.admin-stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.admin-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.admin-resources-list {
    max-height: 500px;
    overflow-y: auto;
}

.admin-resource-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
}

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

.admin-resource-info {
    flex: 1;
}

.admin-resource-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.admin-resource-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.admin-resource-actions {
    display: flex;
    gap: 8px;
}

.admin-resource-actions .icon-btn.delete {
    color: #ef4444;
}

.admin-resource-actions .icon-btn.delete:hover {
    background: rgba(239,68,68,0.1);
}

.admin-requests-list {
    max-height: 500px;
    overflow-y: auto;
}

.admin-request-item {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

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

.admin-request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-request-header strong {
    font-size: 0.9rem;
    color: var(--primary);
}

.request-category {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
}

.request-category.pending {
    background: rgba(245,158,11,0.15);
    color: #fbbf24;
}

.request-category.completed {
    background: rgba(16,185,129,0.15);
    color: #34d399;
}

.admin-request-details {
    margin-bottom: 12px;
}

.admin-request-details p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-request-details p i {
    width: 16px;
    font-size: 0.7rem;
}

.admin-request-actions {
    display: flex;
    gap: 8px;
}

.btn-primary.small, .btn-secondary.small {
    padding: 6px 12px;
    font-size: 0.7rem;
}

.admin-logout-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 12px;
    margin-top: 10px;
    transition: all 0.2s;
}

.admin-logout-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.resource-modal {
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.admin-note {
    margin-top: 20px;
    padding: 12px;
    background: rgba(16,185,129,0.1);
    border-radius: 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}
/* Refresh Button */
.refresh-btn {
    cursor: pointer;
    color: var(--primary);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 20px;
    transition: all 0.2s;
}

.refresh-btn:hover {
    background: rgba(16,185,129,0.1);
    transform: rotate(180deg);
}

/* Empty State Improvements */
.empty-state i {
    font-size: 2rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state p {
    margin: 8px 0;
}

/* Request Category Badges */
.request-category {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.request-category.pending {
    background: rgba(245,158,11,0.15);
    color: #fbbf24;
}

.request-category.completed {
    background: rgba(16,185,129,0.15);
    color: #34d399;
}

/* Admin Request Item Hover Effect */
.admin-request-item {
    transition: all 0.2s;
}

.admin-request-item:hover {
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

/* Tooltip for stats cards */
.admin-stat-card {
    cursor: help;
    transition: all 0.2s;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
}
/* Refresh Button */
.refresh-btn {
    cursor: pointer;
    color: var(--primary);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 20px;
    transition: all 0.2s;
}

.refresh-btn:hover {
    background: rgba(16,185,129,0.1);
}

.refresh-btn:active {
    transform: rotate(180deg);
}

/* Empty State Improvements */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    margin: 8px 0;
}

.empty-state strong {
    color: var(--text-primary);
}

/* Request Category Badges */
.request-category {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.request-category.pending {
    background: rgba(245,158,11,0.15);
    color: #fbbf24;
}

.request-category.completed {
    background: rgba(16,185,129,0.15);
    color: #34d399;
}

/* Admin Request Item */
.admin-request-item {
    transition: all 0.2s;
    border-bottom: 1px solid var(--border-color);
}

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

.admin-request-item:hover {
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

/* Admin Request Details */
.admin-request-details {
    margin-bottom: 12px;
}

.admin-request-details p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-request-details p i {
    width: 16px;
    font-size: 0.7rem;
    color: var(--primary);
}

.admin-request-details strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Admin Request Actions */
.admin-request-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.btn-primary.small, .btn-secondary.small {
    padding: 6px 12px;
    font-size: 0.7rem;
}

/* Admin Stats Cards */
.admin-stat-card {
    cursor: help;
    transition: all 0.2s;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
}
/* Refresh Button */
.refresh-btn {
    cursor: pointer;
    color: var(--primary);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 20px;
    transition: all 0.2s;
}

.refresh-btn:hover {
    background: rgba(16,185,129,0.1);
}

.refresh-btn:active {
    transform: rotate(180deg);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    margin: 8px 0;
}

.empty-state strong {
    color: var(--text-primary);
}

/* Request Category Badges */
.request-category {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.request-category.pending {
    background: rgba(245,158,11,0.15);
    color: #fbbf24;
}

.request-category.completed {
    background: rgba(16,185,129,0.15);
    color: #34d399;
}

/* Admin Request Item */
.admin-request-item {
    transition: all 0.2s;
    border-bottom: 1px solid var(--border-color);
    padding: 16px;
}

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

.admin-request-item:hover {
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

/* Admin Request Details */
.admin-request-details {
    margin-bottom: 12px;
}

.admin-request-details p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-request-details p i {
    width: 16px;
    font-size: 0.7rem;
    color: var(--primary);
}

.admin-request-details strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Admin Request Actions */
.admin-request-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.btn-primary.small, .btn-secondary.small {
    padding: 6px 12px;
    font-size: 0.7rem;
}

/* Admin Stats Cards */
.admin-stat-card {
    cursor: help;
    transition: all 0.2s;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
}

/* Admin Section Header */
.admin-section .section-header {
    margin-bottom: 16px;
}