/* Background pattern */
.bg-grid-pattern {
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255,107,53,0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Glass card effect */
.glass-card {
    background: linear-gradient(135deg, rgba(30,30,30,0.9) 0%, rgba(26,26,26,0.8) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 
        0 4px 24px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

/* Modal container */
.modal-container {
    background: linear-gradient(135deg, rgba(30,30,30,0.98) 0%, rgba(20,20,20,0.98) 100%);
    border: 1px solid rgba(255,107,53,0.2);
    border-radius: 1rem;
    box-shadow: 
        0 0 60px rgba(255,107,53,0.15),
        0 25px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    animation: modalIn 0.3s ease-out;
}

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

/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(30,30,30,0.5);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff6b35 0%, #9333ea 100%);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #ff8555;
}

/* Global scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 4px;
}

/* Form checkbox */
.form-checkbox {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #4b5563;
    border-radius: 4px;
    background-color: rgba(10,10,10,0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.form-checkbox:checked {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
    border-color: #ff6b35;
}

.form-checkbox:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-checkbox:hover {
    border-color: #ff6b35;
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Pulse slow animation */
@keyframes pulse-slow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.animate-pulse-slow {
    animation: pulse-slow 2s ease-in-out infinite;
}

/* Button hover effects */
button {
    transition: all 0.2s ease;
}

button:hover:not(:disabled) {
    transform: translateY(-1px);
}

button:active:not(:disabled) {
    transform: translateY(0);
}

/* Focus states */
input:focus, textarea:focus, select:focus {
    outline: none;
}

/* Select styling for dark theme */
select option {
    background-color: #1a1a1a;
    color: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .modal-container {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .glass-card {
        padding: 1rem;
    }
}

/* Smooth transitions */
* {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Gradient text */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}