@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');
:root {
    --falcon-card-gradient: linear-gradient(-45deg, #1970e2, #4695ff);
}

html, body {
    font-size: 12px;
    font-family: 'Noto Sans KR', sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.field-validation-error {
    display: inline-block;
    position: relative;
    padding-left: 10px;
    margin: 3px 0 0 0;
    font-weight: bold;
}

    .field-validation-error::after {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        content: "*";
    }

.logo {
    font-weight: bold;
    font-size: 1.2rem;
}

    .logo img {
        height: 50px;
        margin-right: 20px;
    }

    .logo span {
        font-size: 28px;
    }

.terms_box {
    border: 1px solid #d6d6d6;
    margin: 10px 0;
    padding: 15px;
    border-radius: 6px;
}

[data-auth] {
    display: none;
}


.table-responsive .table th, .table-responsive .table td {
    white-space: nowrap;
}

/**
    pagination
*/
.pagination-container {
    text-align: center;
    margin-top: 20px;
}

.pagination-list {
    display: inline-flex;
    list-style: none;
    padding: 0;
    gap: 5px;
}

    .pagination-list li {
        display: inline;
    }

.page-link {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.active .page-link {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    pointer-events: none;
}

.page-link:hover {
    background-color: #e9ecef;
}

.post-item {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

/**
    ·ÎµùÀÎµðÄÉÀÌÅÍ
*/
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1050;
}

.overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.overlay-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/**
    Å×ÀÌºí Á¤·Ä Çì´õ
*/
/* ±âº» ¸µÅ© ½ºÅ¸ÀÏ */
.sort-link {
    display: inline-block;
    color: #212529;
    text-decoration: none;
    padding: 4px 8px;
    transition: background-color 0.2s ease;
}

    .sort-link:hover {
        background-color: #f1f1f1;
        border-radius: 4px;
    }

/* ÇöÀç Á¤·Ä ÁßÀÎ ÄÃ·³ °­Á¶ */
.sort-active {
    font-weight: bold;
    color: #0d6efd; /* Bootstrap primary color */
}

/* Á¤·Ä ¾ÆÀÌÄÜ ¿©¹é */
.sort-icon {
    margin-left: 4px;
    font-size: 0.8em;
}

.body-container {
    padding-top: 100px;
}

/* ·Î±×ÀÎ ÆäÀÌÁö */
.login-box {
    background-color: #eee;
    padding: 30px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.bg-card-gradient {
    background-image: var(--falcon-card-gradient);
    background-position: center;
}

/**
    ÀÚµ¿¿Ï¼º
*/
.autocomplete-items {
    border: 1px solid #d4d4d4;
    border-top: none;
    z-index: 99;
    position: absolute;
    background-color: #fff;
    max-height: 200px;
    overflow-y: auto;
}

    .autocomplete-items div {
        padding: 10px;
        cursor: pointer;
    }

        .autocomplete-items div:hover,
        .autocomplete-active {
            background-color: #e9e9e9;
        }

.form-floating #timer {
    position: absolute;
    right: 0;
    top:0;
    height: 100%;
    padding: 1rem;
    display: inline-block;
}

.footer {
    position: static !important;
    width: 100%;
    bottom: 0;
    height: 60px;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    /*padding-top: 20px;*/
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.nav-link {
    color: var(--bs-link-color);
}