/* 다크 테마 고정을 위한 추가 스타일 */
select option {
    background-color: #333;
    color: #e0e0e0;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

/* 스크롤바 스타일 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 5px;
}

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

/* 모바일에서 모달 배경 */
@media (max-width: 768px) {
    .modal-close {
        background: #2a2a2a;
    }
    
    /* 모바일에서 오늘 날짜 배경 조정 */
    .calendar-day-today {
        background-color: #4a4a3a;
    }
    
    /* 모바일 사이드바 추가 최적화 */
    body.no-scroll {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    /* 모바일 메뉴 터치 영역 확대 */
    .mobile-nav li {
        margin-bottom: 5px;
    }
    
    .mobile-nav a {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(211, 74, 68, 0.2);
    }
    
    /* 사이드바 스크롤 성능 개선 */
    .mobile-sidebar {
        -webkit-overflow-scrolling: touch;
        will-change: transform;
    }
    
    /* 햄버거 메뉴 터치 영역 확대 */
    .hamburger {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* 추가적인 다크 테마 요소들 */
.btn-secondary {
    background-color: #555;
}

.btn-secondary:hover {
    background-color: #666;
}

/* 추가 폼 요소 스타일 */
input[type="checkbox"],
input[type="radio"] {
    accent-color: #d34a44;
}

/* 링크 색상 */
a {
    color: #4a9eff;
}

a:hover {
    color: #6bb3ff;
}

/* 드롭다운 화살표 */
select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2714%27%20height%3D%278%27%20viewBox%3D%270%200%2014%208%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M7%208L0%200h14z%27%20fill%3D%27%23e0e0e0%27/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
}