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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6d3501;
}

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

/* Focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(86, 41, 1, 0.5);
}

/* Checkbox customization */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #4b5563;
    border-radius: 0.25rem;
    background-color: #374151;
    cursor: pointer;
    position: relative;
}

input[type="checkbox"]:checked {
    background-color: #562901;
    border-color: #562901;
}

input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Text selection */
::selection {
    background: #562901;
    color: white;
}

/* Custom placeholder text */
::placeholder {
    color: #6b7280;
    opacity: 1;
}

/* Tooltip styles */
.tooltip {
    position: relative;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #1f2937;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid #374151;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}