.navbar {
    position: absolute;
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: +10;
}

.logo {
    color: #415082;
    font-size: 21px;
    font-weight: bold;
}

.logo-img {
    height: 28px;
    width: 28px;
}

@media (min-width: 1024px) {
    .navbar-container {
        width: 1280px;
        height: auto;
        margin: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-main {
        color: #111827;
        font-size: 16px;
        padding: 0 40px;
        gap: 20px;
    }

    .navbar-nav {
        display: flex;
        list-style-type: none;
        gap: 24px;
        padding: 0 40px;
        margin: 0;
    }

    .nav-link {
        color: #111827;
        font-size: 16px;
        font-weight: bold;
    }

    .nav-btn-container {
        height: 100%;
        padding: 6px 32px;
        border: #415082 2px solid;
        border-radius: 6px;
        background-color: #4150821A;
    }

    .nav-btn {
        border: none;
        color: #415082;
        background-color: #ffffff00;
        font-size: 14px;
        font-weight: bold;
    }

    .navbar-toggle {
        display: none;
    }

    .modal {
        display: none;
    }
}

@media (max-width: 1023px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 20;
        background-color: #E4ECFF;
    }

    .navbar-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        position: relative;
        padding: 0 1rem;
    }

    .navbar-nav {
        display: none;
    }

    .nav-item {
        display: none;
    }

    .nav-btn-container {
        display: none;
    }

    .nav-btn {
        display: none;
    }

    .navbar-toggle {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        background-color: #FEFEFE;
        display: block;
        border: none;
        cursor: pointer;
        text-align: center;
        padding: 0;
    }

    .icon-bar {
        display: block;
        width: 16px;
        height: 1px;
        background-color: #a3a3a3;
        margin: 4px auto;
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .show {
        animation: modalFadeIn 0.3s ease-out;
    }

    .hide {
        animation: modalFadeOut 0.3s ease-out;
    }

    @keyframes modalFadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes modalFadeOut {
        from {
            opacity: 1;
        }

        to {
            opacity: 0;
        }
    }

    .modal-content {
        background-color: #fefefe;
        margin: 2% auto;
        border: 1px solid #888;
        width: 98%;
    }

    .modal-header {
        border-bottom: #e9e9e9 solid 1px;
    }

    .modal-nav {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    .modal-nav li {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .modal-nav li a {
        font-weight: bold;
        text-decoration: none;
        color: #333;
    }

    .close-btn {
        width: 44px;
        height: 44px;
        cursor: pointer;
        padding: 8px;
    }

    .close-btn:hover {
        width: 44px;
        height: 44px;
        cursor: pointer;
        background-color: #f4f4f4;
        border-radius: 6px;
        padding: 8px;
    }

    .modal-nav-btn-container {
        height: 100%;
        margin-top: 40px;
        padding: 6px 32px;
        border: #415082 1px solid;
        border-radius: 6px;
        background-color: #4150821A;
        text-align: center;
    }

    .modal-nav-btn {
        border: none;
        color: #415082;
        background-color: #ffffff00;
        cursor: pointer;
        font-size: 14px;
        font-weight: bold;
        text-align: center;
    }
}

.book-success {
    position: fixed;
    top: -100px;
    height: 60px;
    padding: 8px;
    background-color: white;
    border-bottom: #07bC0C solid 8px;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: top 0.5s ease;
    z-index: 1000;
}

.warning-alert {
    position: fixed;
    top: -100px;
    height: 60px;
    padding: 8px;
    border-bottom: #E74C3C solid 5px;
    border-radius: 5px;
    background-color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: top 0.5s ease;
    z-index: 1000;
}

.book-success-show {
    top: 20px;
}

.hidden {
    display: none;
}