@charset "UTF-8";

/* Global reset / base */

*,
*::before,
*::after {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

body {
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Navbar + layout */

.fixed-top {
    border-bottom: 2px solid #8f6e0b;
    background-color: #28282a;
}

.pageContainer {
    margin-top: 4rem;
    padding: 0.5rem;
}

.navbar-brand {
    font-size: large;
    text-shadow: 2px 2px 2px #ffc107;
    letter-spacing: 4px;
}

/* top navbar content layout */

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-right-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-menu-toggle {
    border: none;
    background: transparent;
    color: #fff3cd;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: larger;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.5rem;
}

    .nav-menu-toggle:focus {
        outline: none;
    }



/* avatar in navbar */

.navbar-brand.avatar {
    margin: 0;
}

.avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 100%;
    object-fit: cover;
    border: 2px solid #fff3cd;
    display: inline-block;
}

    .avatar-img:hover {
        cursor: pointer;
    }

/* nav links */

.nav-link:hover {
    text-shadow: 1px 1px 1px #fff3cd;
}

.active {
    text-shadow: 1px 1px 1px #fff3cd;
}

/* headings */

.section-heading {
    font-size: 2.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.menu-itms {
    font-size: medium;
    font-weight: 400;
}

.section-subheading {
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    margin-bottom: 2rem;
}

/* text helpers */

.text-muted {
    --bs-text-opacity: 1;
    color: #6c757d !important;
}

.text-primary {
    --bs-text-opacity: 1;
    color: #3b506f !important;
    padding-top: 1px;
}

/* validation / errors */

.error {
    float: inline-end !important;
    color: #fff3cd;
    text-align: end;
}

.validationError {
    border-bottom: 1px solid red;
}

/* Loader */

.bgLoader {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #212529cf;
}

.loader {
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader-icon {
    background: transparent;
    text-align: center;
    color: #ffc107;
    font-size: 7rem;
    padding-left: 0rem;
    padding-top: 2rem;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(360deg)
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(360deg)
    }
}

/* popover (login) */

.popover-body {
    background-color: #28282a !important;
    position: absolute !important;
    left: -7rem !important;
    width: 14rem;
}



/* jQuery UI (datepicker etc.) */
.ui-widget.ui-widget-content {
    border: 1px solid #6c757d;
    background-color: #28282a;
    color: aliceblue;
}

.ui-state-default,
.ui-widget-content .ui-state-default {
    border: 1px solid #495057;
    background: rgba(0, 0, 0, 0.6);
    font-weight: normal;
    color: aliceblue;
    text-align: center;
}

    .ui-state-default,
    .ui-widget-content .ui-state-default:hover {
        border: 1px solid #ffc107;
    }

.ui-widget-header {
    background: #212529;
    color: #6c757d;
    font-weight: bold;
    border: none;
    border-bottom: 1px solid #ffc107;
    border-radius: 0px;
}

/* misc inputs / labels */

.input-sign {
    font-size: large;
    color: #427ccf;
    font-weight: 700;
}

/* alerts */

.alert {
    display: none;
    position: fixed;
    bottom: 0px;
    right: 0px;
    margin: 1rem;
    background-color: #dc3545;
    color: aliceblue;
    text-align: center;
}

.alert-icon {
    font-size: x-large;
    color: #fff3cd;
    padding-right: 1rem;
}

.alertOk {
    background-color: #198754;
}

.alertOK-icon {
    font-size: x-large;
    color: #f8f9fa;
    padding-right: 1rem;
}

/* pop login */

.popLogin-label-welcome {
    font-size: large;
    margin-bottom: 0.5rem;
    color: palegoldenrod;
    text-decoration: underline #0dcaf0 dashed 9%;
}

.popLogin-label {
    font-size: medium;
    margin-bottom: 0.5rem;
}

.badge-tokens {
    color: palegoldenrod;
    font-size: medium;
    margin-left: 5px;
    border-radius: 0.7rem;
    border: 2px solid #0dcaf0;
}

/* jQuery UI highlight */

.ui-state-highlight {
    border: 1px solid #62f9c8 !important;
}

/* hero card */

.card {
    border-radius: 30px;
    background-image: url('../lib/assets/img/imgbaground.jpg');
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #fff3cd;
}

    .card .primary-heading {
        text-align: center;
        font-family: josefin sans;
        color: white;
        padding-top: 50px;
        font-size: 4em;
    }

.paragraph {
    font-family: josefin sans;
    color: #fff;
    margin-left: 50px;
    margin-right: 25px;
    padding-top: 50px;
    font-size: 1.5em;
    line-height: 1.3em;
    font-weight: bolder;
    text-shadow: #0d6efd 1px 0 10px;
}

.bold {
    font-weight: 700;
    color: #030404;
}

/* generic popup */

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 0.7rem;
}

.popup-content {
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup-header {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin: 20px 20px 10px 20px;
    text-align: center;
    line-height: 1.3;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}

.popup-image {
    width: 100%;
    height: auto;
    display: block;
}

.popup-text {
    padding: 20px;
    text-align: center;
}

    .popup-text p {
        margin-bottom: 20px;
        font-size: 1rem;
        color: #333;
    }

#dismissBtn {
    padding: 10px 20px;
    background-color: #5a67d8;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

    #dismissBtn:hover {
        background-color: #434190;
    }

/* Christmas popup */

.xmas-popup {
    position: fixed;
    inset: auto 1rem 1rem auto;
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.xmas-popup-content {
    position: relative;
    background: radial-gradient(circle at top, #2b2b3d 0%, #111 55%, #050509 100%);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.9);
    max-width: 380px;
    width: 100%;
    z-index: 1;
}

    /* bright twinkling lights */
    .xmas-popup-content::before {
        content: "";
        position: absolute;
        inset: -4px;
        border-radius: inherit;
        background: radial-gradient(circle at 10% 18%, rgba(255, 0, 76, 0.95) 0, transparent 55%), radial-gradient(circle at 30% 0%, rgba(255, 215, 0, 0.95) 0, transparent 50%), radial-gradient(circle at 85% 15%, rgba(0, 255, 170, 0.95) 0, transparent 50%), radial-gradient(circle at 5% 80%, rgba(255, 0, 0, 0.95) 0, transparent 50%), radial-gradient(circle at 90% 70%, rgba(255, 255, 255, 0.95) 0, transparent 50%);
        opacity: 0.9;
        pointer-events: none;
        z-index: 0;
        animation: xmasLights 3s ease-in-out infinite alternate;
    }

@keyframes xmasLights {
    0% {
        opacity: 0.5;
        filter: hue-rotate(0deg) brightness(1);
    }

    50% {
        opacity: 1;
        filter: hue-rotate(40deg) brightness(1.3);
    }

    100% {
        opacity: 0.7;
        filter: hue-rotate(-30deg) brightness(1.1);
    }
}

.xmas-image-wrap {
    position: relative;
    padding: 10px 10px 0 10px;
    z-index: 1;
}

.xmas-popup-image {
    width: 100%;
    border-radius: 14px;
    display: block;
    cursor: pointer;
}

.xmas-image-wrap::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -6px;
    height: 18px;
    background: radial-gradient(circle, rgba(255, 200, 120, 0.95) 0, transparent 70%);
    opacity: 0.8;
    filter: blur(4px);
    z-index: -1;
}

.xmas-popup-actions {
    padding: 12px 16px 14px 16px;
    display: flex;
    justify-content: center;
    background: linear-gradient(to top, #111 0%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 1;
}

.xmas-go-btn {
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 8px 28px;
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.9);
}

/* visible X button */
.xmas-close-btn {
    position: absolute;
    top: 6px;
    right: 8px;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #ffd700;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 999px;
    padding: 2px 8px 4px 8px;
    z-index: 2;
}

    .xmas-close-btn:hover {
        background: rgba(0, 0, 0, 0.8);
    }

/* responsive center on mobile */
@media (max-width: 576px) {
    .xmas-popup {
        inset: 0;
        justify-content: center;
        align-items: center;
        padding: 0 12px;
        background: rgba(0, 0, 0, 0.55);
    }

    .xmas-popup-content {
        max-width: 360px;
    }
}

/* sticky side buttons (Book / Feedback) */

.njs-sticky-side.image_button_cover.placement-right {
    right: 0;
}

.njs-sticky-side.image_button_cover {
    position: fixed;
    box-shadow: none;
    z-index: 99999;
    transition: transform .3s cubic-bezier(0,0,0,1);
    -webkit-transition: -webkit-transform .3s cubic-bezier(0,0,0,1);
}

#glblAppBtn {
    top: 50%;
}



.njs-sticky-side.image_button_cover.placement-right.now-show a {
    transform: translate3d(4px,0,0) rotate(-90deg);
    -webkit-transform: translate3d(4px,0,0) rotate(-90deg);
}

.njs-sticky-side.image_button_cover.placement-right a {
    border-radius: 3px 3px 0 0;
    transform: translate3d(200%,0,0) rotate(-90deg);
    -webkit-transform: translate3d(200%,0,0) rotate(-90deg);
    transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
}

.njs-sticky-side.image_button_cover a {
    padding: 6px 15px 12px;
    font-size: 16px;
    display: inline-block;
    position: relative;
    transition: transform .3s;
    -webkit-transition: -webkit-transform .3s;
    background-color: #1a2d41;
    color: #fff3cd;
    font-weight: 100;
    top: -106.5px;
    font-family: Arial;
    text-decoration: none;
}

    .njs-sticky-side.image_button_cover a:hover {
        color: #ffc107;
        border: 1px solid #ffc107;
    }


/* Feedback overlay + modal */

#feedbackOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.40);
    z-index: 100000;
}

#feedbackModal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
    background: linear-gradient(180deg, #ffe190 0%, #fff8e7 38%, #ffffff 100%);
}

.feedback-modal-header {
    padding: 14px 18px;
    background: linear-gradient(90deg, #ffdd7a 0%, #ffd061 40%, #ffc94a 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feedback-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a2d41;
    letter-spacing: 0.04em;
}

.feedback-close-btn {
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #1a2d41;
}

.feedback-modal-body {
    padding: 16px 18px 8px 18px;
}

.feedback-field {
    margin-bottom: 16px;
}

    .feedback-field label {
        display: block;
        margin-bottom: 6px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #6b7280;
    }

#fbText {
    width: 100%;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 9px 11px;
    resize: vertical;
    min-height: 90px;
    outline: none;
    background: rgba(255,255,255,0.90);
    color: #1a2d41;
}

    #fbText:focus {
        border-color: #1a2d41;
        box-shadow: 0 0 0 1px #1a2d4133;
    }

/* Feedback instructor dropdown */

.fb-dropdown-toggle {
    min-width: 100%;
    text-align: left;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    padding: 7px 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.95);
    color: #111827;
}

    .fb-dropdown-toggle:focus,
    .fb-dropdown-toggle:hover {
        border-color: #1a2d41;
        box-shadow: 0 0 0 1px #1a2d4133;
    }

.fb-dropdown-menu {
    display: none;
    width: 100%;
    max-height: 260px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    box-shadow: 0 12px 28px rgba(0,0,0,0.20);
    background-color: #ffffff;
    margin-top: 4px;
}

    .fb-dropdown-menu.show {
        display: block;
    }

.fb-dropdown-search {
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

    .fb-dropdown-search input {
        font-size: 13px;
    }

.fb-dropdown-list {
    max-height: 200px;
    overflow-y: auto;
}

.fb-instructor-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    width: 100%;
    border: 0;
    background: transparent;
    font-size: 14px;
    color: #111827;
    cursor: pointer;
    text-align: left;
}

    .fb-instructor-item:hover {
        background-color: #f3f4f6;
    }

    .fb-instructor-item img {
        width: 30px;
        height: 30px;
        border-radius: 999px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .fb-instructor-item span {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

.fb-dropdown-selected {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

    .fb-dropdown-selected img {
        width: 24px;
        height: 24px;
        border-radius: 999px;
        object-fit: cover;
    }

    .fb-dropdown-selected span {
        max-width: 210px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

/* Stars */

.star-rating {
    direction: rtl;
    display: inline-flex;
    font-size: 22px;
}

    .star-rating input {
        display: none;
    }

    .star-rating label {
        cursor: pointer;
        color: #d1d5db;
        padding: 0 2px;
    }

        .star-rating label::before {
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            content: "\f005"; /* full star */
        }

        /* hover state */
        .star-rating label:hover,
        .star-rating label:hover ~ label {
            color: #fbbf24;
        }

    /* checked state */
    .star-rating input:checked ~ label {
        color: #f59e0b;
    }

.star-rating-caption {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

/* Feedback modal footer */

.feedback-modal-footer {
    padding: 10px 18px 14px 18px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    background: #ffffffdd;
    backdrop-filter: blur(4px);
}

.feedback-submit-btn {
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 9999px;
    border: none;
    background-color: #1a2d41;
    color: #f9fafb;
    cursor: pointer;
}

    .feedback-submit-btn:hover {
        background-color: #223a55;
    }

/* Right side slide-in menu */

.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 260px;
    max-width: 80%;
    background-color: #28282a;
    color: #fff3cd;
    box-shadow: -4px 0 12px rgba(0,0,0,0.45);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 104000;
    display: flex;
    flex-direction: column;
}

    .side-menu.open {
        transform: translateX(0);
    }

.side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #444;
    background: #1f1f22;
}

.side-menu-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.side-menu-close {
    border: none;
    background: transparent;
    color: #fff3cd;
    font-size: 1.1rem;
    cursor: pointer;
}

.side-menu-list {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

    .side-menu-list li a {
        display: block;
        padding: 0.6rem 1.1rem;
        font-size: 0.95rem;
        color: #f8f9fa;
        text-decoration: none;
        border-left: 3px solid transparent;
    }

        .side-menu-list li a:hover {
            background-color: #343a40;
            border-left-color: #ffc107;
            text-shadow: 1px 1px 1px #fff3cd;
        }

.side-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
    z-index: 1030;
}

    .side-menu-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

@media (max-width: 576px) {
    .side-menu {
        width: 220px;
    }
}


.side-menu-list li a.active {
    background-color: #343a40;
    border-left-color: #ffc107;
    text-shadow: 1px 1px 1px #fff3cd;
}

#glblFeedbackBtn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 99999;
}

    #glblFeedbackBtn .feedback-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 30%;
        background-color: #1a2d41;
        color: #ffffff;
        border: 1px solid #198754;
        text-decoration: none;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
        font-size: x-large;
    }

        #glblFeedbackBtn .feedback-btn i {
            font-size: 1.4rem;
        }

        #glblFeedbackBtn .feedback-btn:hover {
            color: #ffc107;
            border-color: #ffc107;
        }

@media (max-width: 576px) {
    #glblFeedbackBtn {
        bottom: 1rem;
        right: 1rem;
    }
}