html, body {
    font-family: 'Pretendard', sans-serif !important;
}

/* 모바일 화면(최대 너비 768px 이하)에서 스크롤바 숨김 */
@media (max-width: 768px) {
    html, body {
        overflow-y: scroll !important;  /* 강제로 스크롤바 숨김 */
        height: 100%;

    }
    *
    {
        -ms-overflow-style: none;  /* IE 및 Edge용 스크롤바 숨김 */
        scrollbar-width: none;  /* Firefox용 스크롤바 숨김 */
    }

    /* Chrome, Safari 등의 웹킷 브라우저용 스크롤바 숨김 */
    *::-webkit-scrollbar,
    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none;
    }
}

p, li {
    margin: 5px;
    padding: 0px;
}

.swal2-title {
    font-size: 14px;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.uk-card {
    height: 380px;
    margin: 0px !important;
}

.slider-container {
    display: block;
    white-space: nowrap;
    overflow-x: auto; /* 가로 스크롤 활성화 */
    -webkit-overflow-scrolling: touch; /* 터치 스크롤 부드럽게 적용 (iOS용) */
    scrollbar-width: none; /* Firefox에서 스크롤바 숨김 */
    padding: 0;
    margin-bottom: 5px;
}

/* 크롬 및 사파리에서 스크롤바 숨기기 */
.slider-container::-webkit-scrollbar {
    display: none;
}

.uk-card-footer {
    padding: 0px !important;
    height: 65px !important;
}

.uk-card-body {
    height: 250px;
}

.flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-box {
    background-color: rgb(139, 179, 232);
    color: white;
    border-color: #d6e1ef;
}

.custom-checkbox {
    padding-left: 5px;
    white-space: nowrap;
}

.checkbox-box {
    border-radius: 10px;
    padding: 10px;
    background-color: whitesmoke;
    border: 1px solid #ddd;
    display: inline-block;
}

.media-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.uk-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    position: relative;
}

.btn-assets-download {
    font-size: 14px;
    position: absolute;
    right: 15px;
    bottom: 15px;
    padding: 7px 12px;
}

.uk-card-body {
    padding: 20px;
}

.uk-card-media-left img {
    max-width: 100%;
    border-radius: 8px;
}



.badge {
    display: inline-block;
    padding: 0.35em 0.6em;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-align: center;
    background-color: #d5e2f2 !important;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#alert-list {
    position: fixed;
    top: 75px;
    right: 0;
    display: flex;
    flex-direction: column; /* 세로 방향으로 알림을 정렬 */
    justify-content: flex-start; /* 위에서부터 알림을 정렬 */
    align-items: center; /* 가운데 정렬을 유지 */
    z-index: 1000; /* 다른 요소들 위에 표시되도록 z-index 설정 */
    padding: 10px;
    overflow-y: auto; /* 알림 목록이 길어질 경우 스크롤 가능 */
    max-height: 90%; /* 화면의 최대 높이를 90%로 제한 */
}

.alert {
    font-family: 'S-CoreDream-3Light';
    font-size: 14px;
    background-color: #FFF5EE; /* 밝은 배경색 */
    color: #636363; /* 글자 색상 */
    border-radius: 20px; /* 라운드 모서리 */
    padding: 15px;
    margin: 3px 0; /* 알림창 사이의 간격 */
    max-width: 300px; /* 최대 너비 */
    text-align: center; /* 텍스트 중앙 정렬 */
    animation: slideIn 0.5s ease-out; /* 애니메이션 효과 */
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: rgb(139, 179, 232); /* UIKit 기본 파란색 */
}

input:checked + .slider:before {
    transform: translateX(18px);
}

.slider.round {
    border-radius: 34px;
}