main { max-width: 1400px; width: 100%; margin: 0 auto; padding: 2rem; flex: 1; } h1 { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 2rem; } header { width: 100%; border-bottom: 1px solid var(--border); background: rgba(31, 41, 55, 0.6); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 50; } .nav-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; height: 4rem; display: flex; justify-content: space-between; align-items: center; } .nav-left { display: flex; align-items: center; gap: 3rem; height: 100%; } .brand { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; } .brand span { color: var(--accent); } nav { display: flex; gap: 1.5rem; height: 100%; } nav a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; padding: 0 0.25rem; transition: color 0.15s ease, border-color 0.15s ease; } nav a:hover, nav a.active { color: var(--text); border-color: var(--accent); } .profile-dropdown { position: relative; display: inline-block; height: 100%; display: flex; align-items: center; } .profile-trigger { background: none; border: none; display: flex; align-items: center; gap: 0.75rem; color: var(--text); cursor: pointer; padding: 0.5rem; border-radius: 8px; transition: background-color 0.2s ease; } .profile-trigger:hover { background-color: rgba(255, 255, 255, 0.05); } .avatar { width: 2rem; height: 2rem; background-color: var(--accent); color: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem; } .username { font-size: 0.95rem; font-weight: 500; } .dropdown-menu { position: absolute; top: calc(100% - 0.5rem); right: 0; width: 200px; background: #1f2937; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); display: none; flex-direction: column; padding: 0.5rem 0; z-index: 100; } .profile-dropdown:hover .dropdown-menu, .dropdown-menu.show { display: flex; } .dropdown-menu a, .logout-btn { width: 100%; padding: 0.6rem 1.2rem; font-size: 0.9rem; color: var(--text-muted); text-decoration: none; text-align: left; background: none; border: none; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease; box-sizing: border-box; } .dropdown-menu a:hover { background-color: rgba(255, 255, 255, 0.05); color: var(--text); } .dropdown-divider { border: 0; border-top: 1px solid var(--border); margin: 0.4rem 0; } .logout-btn { color: #ef4444; font-weight: 500; } .logout-btn:hover { background-color: rgba(239, 68, 68, 0.1); color: #f87171; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; } .stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; text-align: left; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); } .stat-card h2 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.25rem; color: var(--text); } .stat-card p { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; } .action-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; } .search-input { max-width: 320px; } .table-container { width: 100%; background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); } table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.95rem; } th { background: #111827; color: var(--text-muted); font-weight: 600; padding: 1rem 1.5rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); } td { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); color: var(--text); } tr:last-child td { border-bottom: none; } tr:hover td { background: rgba(255, 255, 255, 0.01); } #modal { position: fixed; z-index: 100; } .dropdown-menu { position: absolute; top: 100%; right: 0; width: 200px; background: #1f2937; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); display: none; flex-direction: column; z-index: 1000; } .dropdown-menu.show { display: flex !important; } #main-nav { z-index: 900; } @media (max-width: 768px) { .menu-trigger { display: block; background: none; border: 1px solid var(--border); color: var(--text); padding: 0.4rem 0.8rem; border-radius: 6px; } #main-nav { display: none; flex-direction: column; position: absolute; top: 4rem; left: 0; width: 100%; background: #111827; padding: 1rem; z-index: 100; border-bottom: 1px solid var(--border); } #main-nav.show { display: flex; } } @media (min-width: 769px) { .menu-trigger { display: none; } }