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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dark ::-webkit-scrollbar-track {
    background: #1f2937;
}

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

.dark ::-webkit-scrollbar-thumb {
    background: #555;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* Smooth transitions */
body {
    transition: background-color 0.3s ease;
}

/* Custom file upload styling */
input[type="file"] {
    display: none;
}

/* Custom radio button styling */
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

input[type="radio"]:checked {
    border-color: #6366f1;
    background-color: #6366f1;
    background-image: radial-gradient(circle, white 35%, transparent 40%);
}

.dark input[type="radio"] {
    border-color: #4b5563;
}

.dark input[type="radio"]:checked {
    border-color: #6366f1;
}