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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #0a0e17;
    color: #fff;
    min-height: 100vh;
    transition: background 0.5s ease;
}

body.bg-default { background: #0a0e17; }
body.bg-anime { background: url('https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmlnajNnMXAzcG53OHJsOGd0cXNqOGthcHRncnF0cGlyZjFzeTV0OCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/ZolyYstgSZoq3uiLmP/giphy.gif') center/cover no-repeat fixed; }
body.bg-monkey { background: url('https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExOGlkeWR0cjcyNGR3NDMzZHlncng2eG9xYTh6dnJ5MXMxZTNuMjY4aSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/5Zesu5VPNGJlm/giphy.gif') center/cover no-repeat fixed; }
body.bg-meme { background: url('https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExcGJhcDB5Y2N6bnVmbjMxenZwZmVyOTc5ZDduNHlzMmszcXMyM2Z1NCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/e7CD41ekE5ZUSgTnkn/giphy.gif') center/cover no-repeat fixed; }
body.bg-hacker { background: url('https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExZHBwdzZ6amQ4NDVscjlyMWhuZnkzZGY0cTl0NWd0bmh6YmdxMDczeCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/137EaR4vAOCn1S/giphy.gif') center/cover no-repeat fixed; }
body.bg-dexter { background: url('https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExamh0YjUyZ3B3Zmx1eG9pbHprd3FndHdybXFhZGkwNzZxazk5d3ltciZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/oBI71qsaqbg1e5kKin/giphy.gif') center/cover no-repeat fixed; }

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    background: rgba(18, 26, 40, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 212, 0.15);
    border-radius: 24px;
    padding: 40px 35px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

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

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.login-logo i {
    color: #00d4d4;
    font-size: 32px;
}

.login-logo span {
    background: linear-gradient(135deg, #00d4d4, #00b4b4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-badge {
    font-size: 10px;
    background: rgba(255, 68, 68, 0.15);
    color: #ff6b6b;
    padding: 2px 8px;
    border-radius: 6px;
    -webkit-text-fill-color: #ff6b6b;
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    font-weight: 300;
}

.login-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 212, 212, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 212, 0.08);
    margin-bottom: 20px;
}

.login-status i {
    color: #00d4d4;
    font-size: 16px;
}

.login-status span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: #00d4d4;
    box-shadow: 0 0 0 3px rgba(0, 212, 212, 0.15);
}

.input-group i {
    color: rgba(255, 255, 255, 0.3);
    padding: 0 14px;
    font-size: 14px;
}

.input-group input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    padding: 14px 14px 14px 0;
    font-size: 14px;
    font-family: inherit;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(135deg, #00d4d4, #00a8a8);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 4px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 212, 0.3);
}

.login-error {
    margin-top: 14px;
    padding: 12px 16px;
    background: rgba(255, 68, 68, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 68, 68, 0.12);
    color: #ff6b6b;
    font-size: 13px;
    display: none;
}

.login-error.show {
    display: block;
}

.login-error.success {
    background: rgba(0, 212, 212, 0.08);
    border-color: rgba(0, 212, 212, 0.12);
    color: #00d4d4;
}

.login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.login-footer span {
    color: rgba(255, 255, 255, 0.15);
    font-size: 12px;
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 20px;
}

.sidebar-brand i {
    color: #00d4d4;
    font-size: 24px;
}

.sidebar-brand span {
    background: linear-gradient(135deg, #00d4d4, #00b4b4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-brand .admin-badge {
    font-size: 10px;
    background: rgba(255, 68, 68, 0.15);
    color: #ff6b6b;
    padding: 2px 8px;
    border-radius: 6px;
    -webkit-text-fill-color: #ff6b6b;
    margin-left: auto;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.user-plan {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
}

.nav-item.active {
    background: rgba(0, 212, 212, 0.08);
    color: #00d4d4;
    box-shadow: 0 0 0 1px rgba(0, 212, 212, 0.1);
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.nav-badge {
    margin-left: auto;
    background: rgba(0, 212, 212, 0.1);
    color: #00d4d4;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 8px;
}

.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: auto;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    background: rgba(255, 68, 68, 0.06);
    border: 1px solid rgba(255, 68, 68, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.logout-btn:hover {
    background: rgba(255, 68, 68, 0.12);
    color: #ff6b6b;
    border-color: rgba(255, 68, 68, 0.15);
}

.main-content {
    flex: 1;
    padding: 32px 40px;
    max-width: calc(100% - 260px);
}

.section {
    display: block;
    animation: fadeIn 0.3s ease;
}

.section.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-header h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    margin-top: 4px;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4d4, #00a8a8);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 212, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-danger {
    background: rgba(255, 68, 68, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(255, 68, 68, 0.15);
}

.btn-danger:hover {
    background: rgba(255, 68, 68, 0.25);
}

.btn-sm {
    padding: 4px 10px;
    font-size: 12px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0 14px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: #00d4d4;
    box-shadow: 0 0 0 3px rgba(0, 212, 212, 0.1);
}

.search-box i {
    color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    padding: 10px 10px 10px 0;
    font-size: 14px;
    font-family: inherit;
    width: 180px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(18, 26, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-icon.blue { background: rgba(0, 212, 212, 0.1); color: #00d4d4; }
.stat-icon.green { background: rgba(0, 212, 212, 0.1); color: #00d4d4; }
.stat-icon.orange { background: rgba(255, 165, 0, 0.1); color: #ffa500; }
.stat-icon.purple { background: rgba(155, 89, 182, 0.1); color: #9b59b6; }

.stat-info {
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.admin-card {
    background: rgba(18, 26, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 20px;
}

.admin-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}

.admin-card h3 i {
    color: #00d4d4;
    margin-right: 10px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.quick-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08);
}

.quick-btn i {
    font-size: 24px;
    color: #00d4d4;
}

.quick-btn span {
    font-size: 13px;
}

.table-container {
    background: rgba(18, 26, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table thead {
    background: rgba(255, 255, 255, 0.02);
}

.admin-table th {
    padding: 14px 16px;
    text-align: left;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.7);
}

.admin-table .status-active {
    color: #00d4d4;
}

.admin-table .status-used {
    color: #ffa500;
}

.admin-table .status-expired {
    color: #ff6b6b;
}

.admin-table .key-text {
    font-family: monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.admin-table .loading-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    padding: 30px;
}

.table-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

.generate-form {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group select,
.form-group input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    min-width: 120px;
}

.form-group select:focus,
.form-group input:focus {
    border-color: #00d4d4;
    box-shadow: 0 0 0 3px rgba(0, 212, 212, 0.1);
}

.form-group select option {
    background: #0a0e17;
}

.generate-result {
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(0, 212, 212, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 212, 0.08);
}

.generate-result.hidden {
    display: none;
}

.generate-result h4 {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.keys-output {
    font-family: monospace;
    font-size: 13px;
    color: #00d4d4;
    max-height: 200px;
    overflow-y: auto;
    padding: 8px 0;
}

.keys-output .key-line {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.settings-card {
    background: rgba(18, 26, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 20px;
}

.settings-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}

.settings-card h3 i {
    color: #00d4d4;
    margin-right: 10px;
}

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

.bg-option {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.bg-option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
}

.bg-option.active {
    background: rgba(0, 212, 212, 0.08);
    border-color: rgba(0, 212, 212, 0.15);
    color: #00d4d4;
}

.db-info p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    padding: 4px 0;
}

.db-info strong {
    color: rgba(255, 255, 255, 0.6);
}

.status-online {
    color: #00d4d4;
}

.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-empty {
    color: rgba(255, 255, 255, 0.15);
    text-align: center;
    padding: 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.activity-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.activity-msg {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.log-container {
    background: rgba(18, 26, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px 24px;
    max-height: 500px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 13px;
}

.log-container::-webkit-scrollbar {
    width: 4px;
}

.log-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.log-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.log-empty {
    color: rgba(255, 255, 255, 0.15);
    text-align: center;
    padding: 30px;
}

.log-line {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.log-line .log-time {
    color: rgba(255, 255, 255, 0.2);
    margin-right: 12px;
}

.log-line.log-info { color: rgba(255, 255, 255, 0.5); }
.log-line.log-success { color: #00d4d4; }
.log-line.log-warning { color: #ffa500; }
.log-line.log-error { color: #ff6b6b; }

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: rgba(18, 26, 40, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 212, 0.15);
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast i {
    color: #00d4d4;
    font-size: 18px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.show {
    display: flex;
}

.modal {
    background: rgba(18, 26, 40, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 30px;
    max-width: 420px;
    width: 90%;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.modal-header h3 {
    font-size: 18px;
    color: #fff;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 20px;
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .sidebar {
        width: 72px;
        padding: 16px 12px;
    }
    
    .sidebar-brand span,
    .admin-badge,
    .user-info,
    .nav-item span,
    .logout-btn span {
        display: none;
    }
    
    .sidebar-brand {
        justify-content: center;
        padding-bottom: 16px;
    }
    
    .sidebar-brand i {
        font-size: 28px;
    }
    
    .sidebar-user {
        padding: 10px;
        justify-content: center;
    }
    
    .nav-item {
        justify-content: center;
        padding: 12px;
    }
    
    .nav-item i {
        font-size: 20px;
        width: auto;
    }
    
    .logout-btn {
        justify-content: center;
        padding: 10px;
    }
    
    .logout-btn i {
        font-size: 18px;
    }
    
    .main-content {
        padding: 20px;
        max-width: calc(100% - 72px);
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .generate-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-group select,
    .form-group input {
        min-width: auto;
    }
    
    .admin-table {
        font-size: 12px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
    }
    
    .quick-actions {
        grid-template-columns: 1fr 1fr;
    }
}