:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --dark-bg: #0f1419;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: #ffffff;
    font-weight: 400;
}

.gradient-bg {
    background: var(--primary-gradient);
}

/* Glass Morphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Form Controls */
.dark-input, .dark-input.form-select {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.dark-input:focus, .dark-input.form-select:focus {
    background: rgba(0, 0, 0, 0.5) !important;
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15) !important;
    color: #ffffff !important;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #0d6efd, #0a58ca);
}

.btn-success {
    background: linear-gradient(45deg, #198754, #146c43);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* App Logo */
.app-logo {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Text Sizes */
.text-small {
    font-size: 0.85rem;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(25, 135, 84, 0.15);
    color: #75b798;
    border: 1px solid rgba(25, 135, 84, 0.3);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.15);
    color: #ea868f;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.alert-info {
    background: rgba(13, 110, 253, 0.15);
    color: #6ea8fe;
    border: 1px solid rgba(13, 110, 253, 0.3);
}

/* Input Group */
.input-group-text {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #6c757d !important;
}

/* Form Text */
.form-text {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .glass-card {
        padding: 1.5rem !important;
    }
    
    .display-6 {
        font-size: 1.75rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: #0d6efd;
    border-radius: 3px;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}