﻿/* 스위트어럴트2 커스텀 영역입니다. */
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    background-color: #003D80 !important;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus {
    box-shadow: none !important;
}

div:where(.swal2-icon).swal2-error {
    border-color: #ec0000 !important;
    color: #ec0000 !important;
}

div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line] {
    background-color: #ec0000 !important;
}

div:where(.swal2-icon).swal2-warning {
    border-color: #fa7500 !important;
    color: #fa7500 !important;
}

/* 페이지네이션 영역입니다. */
.pagination {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.pagination a {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-name-style {
    font-weight: 900;
    color: #003D80;
}

.page-link {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 5px;
    display: block;
    padding: 5px 0px;
    margin: 5px 5px;
    border-radius: 5px; /* 라운딩된 모서리 */
    text-decoration: none;
    color: #000;
    transition: background-color 0.3s, color 0.3s; /* 부드러운 색상 변화를 위한 전환 효과 */
    width: 30px;
    text-align: center;
    fill: #444; /* 호버 시 SVG 색상 */
}

.page-link-svg {
    margin-top: 6px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.page-link:hover {
    background-color: #5A7087; /* 호버 시 배경 색상 */
    color: #fff; /* 호버 시 글자 색상 */
    fill: #fff; /* 호버 시 SVG 색상 */
    text-decoration: none;
}

.page-link.active {
    background-color: #5A7087;
    color: #fff;
}

.page-link.disabled {
    background-color: #fff; /* 배경 색상 */
    fill: #999; /* SVG 색상 */
    border: 1px solid #aaa;
    text-decoration: none;
    cursor: default;
}

/* 로딩바 커스텀 영역입니다. */
.loadingBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.9);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}