* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0d0d0d;
    color: #fff;
    min-height: 100vh;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.left-side {
    background: #0d0d0d;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100vh;
}

.left-side::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(138, 93, 244, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.auth-box {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 2;
    animation: slideInLeft 0.6s ease;
    padding: 20px 0;
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon img {
    width: 100%;  
    height: 100%;
    object-fit: contain;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.welcome-text h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-text p {
    color: #888;
    font-size: 15px;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 10px;
    color: #bbb;
    font-size: 14px;
    font-weight: 500;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

input::placeholder {
    color: #555;
}

input:focus {
    outline: none;
    border-color: rgb(138, 93, 244);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(138, 93, 244, 0.1);
    transform: translateY(-2px);
}

.forgot-link {
    text-align: right;
    margin-top: -16px;
    margin-bottom: 24px;
}

.forgot-link a {
    color: rgb(138, 93, 244);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-link a:hover {
    color: rgb(160, 120, 255);
}

.btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, rgb(138, 93, 244), rgb(120, 75, 220));
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(138, 93, 244, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 12px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

.divider {
    text-align: center;
    margin: 28px 0;
    color: #555;
    font-size: 13px;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ff6b6b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    animation: shake 0.5s;
}

.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.terms {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 24px;
}

.terms a {
    color: rgb(138, 93, 244);
    text-decoration: none;
}

.right-side {
    background: #0a0a0a;
    border-left: 1px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
    animation: slideInRight 0.6s ease;
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.right-side::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 93, 244, 0.15) 0%, transparent 70%);
    top: -10%;
    right: -150px;
    animation: float-slow 8s ease-in-out infinite;
}

.right-side::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(180, 140, 255, 0.1) 0%, transparent 70%);
    bottom: -10%;
    left: -100px;
    animation: float-slow 10s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.features-container {
    max-width: 500px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.feature-header {
    text-align: center;
    margin-bottom: 24px;
}

.feature-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #fff 0%, rgb(138, 93, 244) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.feature-header p {
    color: #999;
    font-size: 14px;
    font-weight: 400;
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(138, 93, 244, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:hover {
    background: rgba(138, 93, 244, 0.05);
    border-color: rgba(138, 93, 244, 0.3);
    transform: translateX(8px);
    box-shadow: 0 20px 60px rgba(138, 93, 244, 0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(138, 93, 244, 0.15), rgba(138, 93, 244, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 1px solid rgba(138, 93, 244, 0.2);
    transition: all 0.4s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(138, 93, 244, 0.25), rgba(138, 93, 244, 0.1));
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: rgb(138, 93, 244);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-card p {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}

.stats-bar {
    background: linear-gradient(135deg, rgba(138, 93, 244, 0.05), rgba(180, 140, 255, 0.03));
    border: 1px solid rgba(138, 93, 244, 0.2);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    animation: fadeInUp 0.6s ease 0.5s forwards;
    opacity: 0;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(138, 93, 244, 0.1) 0%, transparent 50%, rgba(180, 140, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.stats-bar:hover::before {
    opacity: 1;
}

.stat {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, rgb(138, 93, 244));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 500;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    font-size: 11px;
    color: #10b981;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

/* Custom Scrollbar Styling */
.left-side::-webkit-scrollbar {
    width: 8px;
}

.left-side::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.left-side::-webkit-scrollbar-thumb {
    background: rgba(138, 93, 244, 0.5);
    border-radius: 10px;
}

.left-side::-webkit-scrollbar-thumb:hover {
    background: rgba(138, 93, 244, 0.7);
}

@media (max-width: 968px) {
    .container {
        grid-template-columns: 1fr;
    }
    .right-side {
        display: none;
    }
}

.info-card {
    background: rgba(138, 93, 244, 0.1);
    border: 1px solid rgba(138, 93, 244, 0.3);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    color: #aaa;
    font-size: 14px;
}

.info-value {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.dashboard-container {
    width: 100%;
}

.section-title {
    color: #fff;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
}

.quick-actions {
    margin-top: 24px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.action-btn svg {
    width: 20px;
    height: 20px;
    stroke: rgb(138, 93, 244);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.action-btn:hover {
    background: rgba(138, 93, 244, 0.1);
    border-color: rgba(138, 93, 244, 0.3);
    transform: translateY(-2px);
}

.stats-section {
    margin-top: 24px;
}

.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(138, 93, 244, 0.3);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(138, 93, 244, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
    stroke: rgb(138, 93, 244);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 11px;
    color: #888;
}

.admin-panel {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-header {
    margin-bottom: 24px;
}

.admin-title {
    color: #fff;
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 700;
}

.admin-subtitle {
    color: #888;
    font-size: 14px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: linear-gradient(135deg, rgba(138, 93, 244, 0.1), rgba(180, 140, 255, 0.05));
    border: 1px solid rgba(138, 93, 244, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.admin-stat-card:hover {
    background: linear-gradient(135deg, rgba(138, 93, 244, 0.15), rgba(180, 140, 255, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(138, 93, 244, 0.2);
}

.admin-stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(138, 93, 244, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: rgb(138, 93, 244);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.admin-stat-label {
    font-size: 12px;
    color: #888;
}

.admin-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.admin-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.admin-btn.primary {
    background: linear-gradient(135deg, rgba(138, 93, 244, 0.2), rgba(120, 75, 220, 0.1));
    border-color: rgba(138, 93, 244, 0.3);
}

.admin-btn svg {
    width: 18px;
    height: 18px;
    stroke: rgb(138, 93, 244);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-btn:hover {
    background: rgba(138, 93, 244, 0.15);
    border-color: rgba(138, 93, 244, 0.4);
    transform: translateY(-2px);
}

.admin-btn.primary:hover {
    background: linear-gradient(135deg, rgba(138, 93, 244, 0.3), rgba(120, 75, 220, 0.15));
}

.recent-activity {
    margin-top: 24px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon.success {
    background: rgba(16, 185, 129, 0.1);
}

.activity-icon.warning {
    background: rgba(245, 158, 11, 0.1);
}

.activity-icon.info {
    background: rgba(59, 130, 246, 0.1);
}

.activity-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.activity-icon.success svg {
    stroke: #10b981;
}

.activity-icon.warning svg {
    stroke: #f59e0b;
}

.activity-icon.info svg {
    stroke: #3b82f6;
}

.activity-info {
    flex: 1;
}

.activity-text {
    color: #ccc;
    font-size: 13px;
    margin-bottom: 4px;
}

.activity-text strong {
    color: #fff;
    font-weight: 600;
}

.activity-time {
    color: #666;
    font-size: 11px;
}

.logout-btn {
    margin-top: 24px;
    text-decoration: none;
    display: block;
    text-align: center;
}

@media (max-width: 768px) {
    .action-grid {
        grid-template-columns: 1fr;
    }
    
    .user-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .admin-actions {
        grid-template-columns: 1fr;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.modal-content {
    background: #0d0d0d;
    border: 1px solid rgba(138, 93, 244, 0.3);
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(138, 93, 244, 0.05);
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
}

.user-table {
    overflow-x: auto;
}

.user-table table {
    width: 100%;
    border-collapse: collapse;
}

.user-table th {
    background: rgba(138, 93, 244, 0.1);
    padding: 12px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: rgb(138, 93, 244);
    border-bottom: 1px solid rgba(138, 93, 244, 0.3);
}

.user-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: #ccc;
}

.user-table tbody tr {
    transition: background 0.3s;
}

.user-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.user-table code {
    background: rgba(138, 93, 244, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    color: rgb(138, 93, 244);
    font-family: 'Courier New', monospace;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-online {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
    margin-left: 8px;
}

.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    background: rgba(138, 93, 244, 0.1);
    color: rgb(138, 93, 244);
    border: 1px solid rgba(138, 93, 244, 0.3);
}

.btn-sm:hover {
    background: rgba(138, 93, 244, 0.2);
    transform: translateY(-2px);
}

.btn-sm.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-sm.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
}

.btn-sm.btn-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

.btn-sm.btn-success:hover {
    background: rgba(16, 185, 129, 0.2);
}

.btn-sm.btn-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.btn-sm.btn-warning:hover {
    background: rgba(245, 158, 11, 0.2);
}

.license-form {
    max-width: 400px;
}

.license-form .form-group {
    margin-bottom: 20px;
}

.license-form label {
    display: block;
    margin-bottom: 8px;
    color: #bbb;
    font-size: 14px;
    font-weight: 500;
}

.license-form input[type="number"] {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
}

.license-form input[type="number"]:focus {
    outline: none;
    border-color: rgb(138, 93, 244);
    background: rgba(255, 255, 255, 0.08);
}

.key-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.key-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(138, 93, 244, 0.05);
    border: 1px solid rgba(138, 93, 244, 0.2);
    border-radius: 8px;
}

.key-item code {
    flex: 1;
    background: rgba(138, 93, 244, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: rgb(138, 93, 244);
    font-family: 'Courier New', monospace;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 16px;
}

.loading::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 16px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .user-table {
        font-size: 12px;
    }
    
    .user-table th,
    .user-table td {
        padding: 8px 6px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-sm {
        width: 100%;
    }
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 32px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-name {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.admin-badge {
    background: linear-gradient(135deg, rgba(138, 93, 244, 0.2), rgba(180, 140, 255, 0.1));
    border: 1px solid rgba(138, 93, 244, 0.4);
    color: rgb(138, 93, 244);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logout-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.logout-link:hover {
    color: rgb(138, 93, 244);
}

.logout-link svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 32px;
}

.dashboard-main {
    min-width: 0;
}

.welcome-card {
    background: linear-gradient(135deg, rgba(138, 93, 244, 0.1), rgba(180, 140, 255, 0.05));
    border: 1px solid rgba(138, 93, 244, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
}

.welcome-card h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.welcome-card p {
    color: #aaa;
    font-size: 15px;
}

.status-active {
    color: #10b981;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-large {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s;
}

.stat-card-large:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(138, 93, 244, 0.3);
    transform: translateY(-4px);
}

.stat-icon-large {
    width: 56px;
    height: 56px;
    background: rgba(138, 93, 244, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-large svg {
    width: 28px;
    height: 28px;
    stroke: rgb(138, 93, 244);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-content {
    flex: 1;
}

.stat-value-large {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.stat-label-large {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.stat-change {
    font-size: 12px;
    color: #10b981;
    font-weight: 500;
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.action-card-big {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.action-card-big:hover {
    background: rgba(138, 93, 244, 0.1);
    border-color: rgba(138, 93, 244, 0.3);
    transform: translateX(8px);
}

.action-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(138, 93, 244, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: rgb(138, 93, 244);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.action-card-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.action-card-content p {
    font-size: 13px;
    color: #888;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.account-info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.account-info-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 13px;
    color: #888;
}

.info-value {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
}

.hwid-value {
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.admin-quick-panel {
    background: linear-gradient(135deg, rgba(138, 93, 244, 0.1), rgba(180, 140, 255, 0.05));
    border: 1px solid rgba(138, 93, 244, 0.3);
    border-radius: 16px;
    padding: 24px;
}

.admin-quick-panel h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.admin-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mini-stat {
    text-align: center;
    padding: 16px;
    background: rgba(138, 93, 244, 0.1);
    border-radius: 12px;
}

.mini-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.mini-stat-label {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.admin-action-btn:hover {
    background: rgba(138, 93, 244, 0.15);
    border-color: rgba(138, 93, 244, 0.4);
}

.admin-action-btn svg {
    width: 18px;
    height: 18px;
    stroke: rgb(138, 93, 244);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.recent-activity-sidebar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.recent-activity-sidebar h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.activity-list-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item-mini {
    position: relative;
    padding-left: 20px;
}

.activity-dot {
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    background: rgb(138, 93, 244);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.activity-text-mini {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 4px;
}

.activity-time-mini {
    font-size: 11px;
    color: #666;
}

@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        order: 2;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-cards {
        grid-template-columns: 1fr;
    }
    
    .admin-mini-stats {
        grid-template-columns: 1fr;
    }
}

body.dashboard .auth-box {
    max-width: 100%;
    width: 100%;
}

body.dashboard .left-side {
    max-width: 100%;
    padding: 40px 60px;
}

body.dashboard .container {
    grid-template-columns: 1fr;
}

body.dashboard .right-side {
    display: none;
}

body.dashboard .auth-box {
    max-width: 100%;
    width: 100%;
}

body.dashboard .left-side {
    max-width: 100%;
    padding: 40px 60px;
}

body.dashboard .container {
    grid-template-columns: 1fr;
}

body.dashboard .right-side {
    display: none;
}

.admin-full-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.admin-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0;
}

.admin-tab {
    background: none;
    border: none;
    color: #888;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    top: 1px;
}

.admin-tab svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-tab:hover {
    color: rgb(138, 93, 244);
}

.admin-tab.active {
    color: rgb(138, 93, 244);
    border-bottom-color: rgb(138, 93, 244);
}

.admin-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.admin-tab-content.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.tab-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.search-bar {
    display: flex;
    gap: 12px;
}

.search-bar input {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    min-width: 250px;
}

.search-bar input:focus {
    outline: none;
    border-color: rgb(138, 93, 244);
    background: rgba(255, 255, 255, 0.08);
}

.license-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-primary {
    background: linear-gradient(135deg, rgb(138, 93, 244), rgb(120, 75, 220));
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(138, 93, 244, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-select {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: rgb(138, 93, 244);
}

.modern-table {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.modern-table table {
    width: 100%;
    border-collapse: collapse;
}

.modern-table th {
    background: rgba(138, 93, 244, 0.1);
    padding: 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: rgb(138, 93, 244);
    border-bottom: 1px solid rgba(138, 93, 244, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: #ccc;
}

.modern-table tbody tr {
    transition: background 0.2s;
}

.modern-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name {
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.online {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulse-dot 2s infinite;
}

.status-dot.offline {
    background: #666;
}

.badge-purple {
    background: rgba(138, 93, 244, 0.15);
    color: rgb(138, 93, 244);
    border: 1px solid rgba(138, 93, 244, 0.3);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.text-small {
    font-size: 12px;
    color: #888;
}

.key-code {
    background: rgba(138, 93, 244, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: rgb(138, 93, 244);
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.btn-icon svg {
    width: 16px;
    height: 16px;
    stroke: #888;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-icon:hover {
    background: rgba(138, 93, 244, 0.15);
    border-color: rgba(138, 93, 244, 0.3);
    transform: translateY(-2px);
}

.btn-icon:hover svg {
    stroke: rgb(138, 93, 244);
}

.btn-icon.btn-danger:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-icon.btn-danger:hover svg {
    stroke: #ef4444;
}

.btn-icon.btn-success:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

.btn-icon.btn-success:hover svg {
    stroke: #10b981;
}

.btn-icon.btn-warning:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

.btn-icon.btn-warning:hover svg {
    stroke: #f59e0b;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-feed-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s;
}

.activity-feed-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.activity-icon.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.activity-icon.success svg {
    stroke: #10b981;
}

.activity-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.activity-icon.warning svg {
    stroke: #f59e0b;
}

.activity-icon.info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.activity-icon.info svg {
    stroke: #3b82f6;
}

.activity-content {
    flex: 1;
}

.activity-message {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.5;
}

.activity-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 12px;
}

.activity-user {
    color: rgb(138, 93, 244);
    font-weight: 600;
}

.activity-time {
    color: #666;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 15px;
}

.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, rgb(138, 93, 244), rgb(120, 75, 220));
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(138, 93, 244, 0.4);
    font-size: 14px;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.license-form {
    max-width: 500px;
}

.license-form .form-group {
    margin-bottom: 24px;
}

.license-form label {
    display: block;
    margin-bottom: 8px;
    color: #bbb;
    font-size: 14px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: rgb(138, 93, 244);
    background: rgba(255, 255, 255, 0.08);
}

.key-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.key-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(138, 93, 244, 0.05);
    border: 1px solid rgba(138, 93, 244, 0.2);
    border-radius: 10px;
}

.key-item code {
    flex: 1;
    background: rgba(138, 93, 244, 0.1);
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: rgb(138, 93, 244);
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

@media (max-width: 1200px) {
    body.dashboard .left-side {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    body.dashboard .left-side {
        padding: 20px;
    }
    
    .admin-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .admin-tab {
        white-space: nowrap;
    }
    
    .tab-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-bar input {
        min-width: 100%;
    }
    
    .license-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary,
    .filter-select {
        width: 100%;
        justify-content: center;
    }
    
    .modern-table {
        overflow-x: auto;
    }
    
    .modern-table table {
        min-width: 800px;
    }
}

.error-state {
    text-align: center;
    padding: 60px 20px;
    color: #ef4444;
    font-size: 15px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
    font-size: 15px;
}

.empty-state svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
}

.loading {
    text-align: center;
    padding: 60px 20px;
    color: rgb(138, 93, 244);
    font-size: 16px;
    font-weight: 500;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 12px;
    border: 3px solid rgba(138, 93, 244, 0.3);
    border-top-color: rgb(138, 93, 244);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, rgb(138, 93, 244), rgb(120, 75, 220));
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(138, 93, 244, 0.4), 0 0 0 1px rgba(138, 93, 244, 0.1);
    font-size: 14px;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    min-width: 200px;
    text-align: center;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast-notification.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.toast-notification.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.toast-notification.info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.modern-table {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.modern-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.modern-table th {
    background: linear-gradient(135deg, rgba(138, 93, 244, 0.15), rgba(138, 93, 244, 0.08));
    padding: 18px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: rgb(138, 93, 244);
    border-bottom: 2px solid rgba(138, 93, 244, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.modern-table td {
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: #ccc;
    vertical-align: middle;
}

.modern-table tbody tr {
    transition: all 0.2s ease;
    cursor: default;
}

.modern-table tbody tr:hover {
    background: rgba(138, 93, 244, 0.05);
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-name {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
    margin-bottom: 0;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.status-dot.online {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2), 0 0 8px rgba(16, 185, 129, 0.6);
    animation: pulse-online 2s ease-in-out infinite;
}

.status-dot.offline {
    background: #4b5563;
    box-shadow: 0 0 0 3px rgba(75, 85, 99, 0.2);
}

@keyframes pulse-online {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2), 0 0 8px rgba(16, 185, 129, 0.6);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1), 0 0 12px rgba(16, 185, 129, 0.4);
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.badge-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08));
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.badge-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.08));
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.badge-purple {
    background: linear-gradient(135deg, rgba(138, 93, 244, 0.2), rgba(138, 93, 244, 0.1));
    color: rgb(138, 93, 244);
    border: 1px solid rgba(138, 93, 244, 0.5);
    box-shadow: 0 2px 8px rgba(138, 93, 244, 0.3);
    font-size: 10px;
    padding: 3px 8px;
}

.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.btn-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-icon:hover::before {
    opacity: 1;
}

.btn-icon svg {
    width: 18px;
    height: 18px;
    stroke: #999;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.25s;
    position: relative;
    z-index: 1;
}

.btn-icon:hover {
    background: rgba(138, 93, 244, 0.15);
    border-color: rgba(138, 93, 244, 0.4);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 16px rgba(138, 93, 244, 0.3);
}

.btn-icon:hover svg {
    stroke: rgb(138, 93, 244);
}

.btn-icon:active {
    transform: translateY(0) scale(0.95);
}

.btn-icon.btn-danger:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.btn-icon.btn-danger:hover svg {
    stroke: #ef4444;
}

.btn-icon.btn-success:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-icon.btn-success:hover svg {
    stroke: #10b981;
}

.btn-icon.btn-warning:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.btn-icon.btn-warning:hover svg {
    stroke: #f59e0b;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-feed-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.activity-feed-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgb(138, 93, 244), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.activity-feed-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(138, 93, 244, 0.3);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(138, 93, 244, 0.15);
}

.activity-feed-item:hover::before {
    opacity: 1;
}

.activity-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.activity-feed-item:hover .activity-icon {
    transform: scale(1.1) rotate(5deg);
}

.activity-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.activity-icon.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.activity-icon.success svg {
    stroke: #10b981;
}

.activity-icon.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.08));
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.activity-icon.warning svg {
    stroke: #f59e0b;
}

.activity-icon.info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.activity-icon.info svg {
    stroke: #3b82f6;
}

.activity-message {
    color: #ddd;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.activity-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 12px;
}

.activity-user {
    color: rgb(138, 93, 244);
    font-weight: 700;
    background: rgba(138, 93, 244, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
}

.activity-time {
    color: #666;
    font-weight: 500;
}

.search-bar {
    position: relative;
}

.search-bar input {
    padding: 12px 16px;
    padding-left: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    min-width: 300px;
    transition: all 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: rgb(138, 93, 244);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(138, 93, 244, 0.1), 0 4px 12px rgba(138, 93, 244, 0.2);
}

.section-header {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.key-code {
    background: linear-gradient(135deg, rgba(138, 93, 244, 0.15), rgba(138, 93, 244, 0.08));
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: rgb(138, 93, 244);
    font-family: 'Courier New', monospace;
    font-weight: 700;
    border: 1px solid rgba(138, 93, 244, 0.3);
    letter-spacing: 0.5px;
}

.modern-table::-webkit-scrollbar {
    height: 8px;
}

.modern-table::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.modern-table::-webkit-scrollbar-thumb {
    background: rgba(138, 93, 244, 0.5);
    border-radius: 10px;
}

.modern-table::-webkit-scrollbar-thumb:hover {
    background: rgba(138, 93, 244, 0.7);
}