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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Sidebar Styles */
.sidebar-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: rgba(139, 92, 246, 0.9);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 12px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.sidebar-toggle:hover {
    background: rgba(139, 92, 246, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.sidebar {
    width: 250px;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    left: -250px;
    top: 0;
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.3s ease;
}

.sidebar.open {
    left: 0;
}

.sidebar-logo {
    text-align: center;
    padding: 0 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    position: relative;
}

.sidebar-logo h2 {
    color: #8b5cf6;
    font-size: 20px;
    font-weight: bold;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(139, 92, 246, 0.1);
    border-left-color: #8b5cf6;
    color: #8b5cf6;
}

.sidebar-menu i {
    width: 20px;
    text-align: center;
}

.main-content {
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

.main-content.shifted {
    margin-left: 250px;
    width: calc(100% - 250px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(168, 85, 247, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
    border-color: #a855f7;
}

.card-header {
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.card-title {
    color: #8b5cf6;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.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-primary {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    border: 2px solid #8b5cf6;
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: #e5e7eb;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
    transform: scale(1.02);
}

.grid {
    display: grid;
    gap: 25px;
    width: 100%;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.alert {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 500;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #10b981;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.table th {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 16px 32px;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: #8b5cf6;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-btn.active {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.tab-btn:hover:not(.active) {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Plan Cards */
.plan-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(168, 85, 247, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3);
    border-color: #a855f7;
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
}

.plan-price {
    font-size: 2.5em;
    font-weight: 800;
    color: #8b5cf6;
    margin: 15px 0;
    text-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

.plan-features {
    flex: 1;
    margin-bottom: 25px;
}

.feature {
    margin: 12px 0;
    color: #10b981;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Login Cards */
.login-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(168, 85, 247, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.login-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3);
    border-color: #a855f7;
}

.login-price {
    margin: 20px 0;
    font-weight: 700;
}

/* Utility Classes */
.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .nav-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .card {
        padding: 20px;
    }
    
    .plan-price {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .card {
        padding: 15px;
    }
}