/* Modern Custom Styles for yalla wsaeat Web */

body {
    background-color: #0b0f19;
    font-family: 'Cairo', 'Segoe UI', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

/* Background glows */
.glow-bg {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.glow-1 {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
}

.glow-2 {
    bottom: -200px;
    left: -100px;
    background: radial-gradient(circle, #10b981 0%, transparent 70%);
}

/* Glassmorphism Card style */
.glass-card {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

/* Premium Buttons */
.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 20px 0 rgba(37, 99, 235, 0.3);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 24px 0 rgba(37, 99, 235, 0.4);
}

.btn-run {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    box-shadow: 0 4px 20px 0 rgba(225, 29, 72, 0.3);
    color: white;
}

.btn-run:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 24px 0 rgba(225, 29, 72, 0.4);
}

/* Active tab buttons */
.tab-btn {
    color: #94a3b8;
    background: transparent;
}

.tab-btn:hover {
    color: #f1f5f9;
}

.tab-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Sliders */
input[type="range"]::-webkit-slider-thumb {
    transition: transform 0.1s ease-in-out;
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.35);
}

/* Numeric input styling */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
    background: #1e293b;
    border-radius: 4px;
}

/* Question item wrapping card */
.question-card {
    background: rgba(30, 41, 59, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 16px;
    transition: all 0.2s ease-in-out;
}

.question-card:hover {
    background: rgba(30, 41, 59, 0.45);
    border-color: rgba(255, 255, 255, 0.06);
}

/* Custom radio option button styling */
.custom-radio {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.2s ease;
    user-select: none;
}

.custom-radio:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #f1f5f9;
}

.custom-radio.checked {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    color: #60a5fa;
    box-shadow: 0 0 12px 0 rgba(59, 130, 246, 0.15);
}
