﻿.brand-logo {
    max-height: 80px;
    height: auto;
    width: auto;
}

.modal-content {
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: #007bff;
    border: none;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important; /* Removes the white border on the right */
}

/* Optional – ensure smooth modal animation and consistent layout */
.modal {
    overflow-y: auto !important;
    padding-right: 0 !important;
}

    .modal.fade .modal-dialog {
        transform: translateY(-30px);
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    .modal.show .modal-dialog {
        transform: translateY(0);
        opacity: 1;
    }

.sign-in-modal {
    border-radius: 1.2rem;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f3f3f3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transform: translateY(-40px);
    opacity: 0;
    transition: all 0.4s ease;
}

.modal.show .sign-in-modal {
    transform: translateY(0);
    opacity: 1;
}

/* --- Gradient Button --- */
.btn-gradient {
    background: linear-gradient(to right, #007bff, #00c3ff);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 0;
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .btn-gradient:hover {
        background: linear-gradient(to right, #0066cc, #00a8e8);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 195, 255, 0.4);
    }

/* --- Inputs --- */
.input-custom {
    border-radius: 50px;
    border: 1px solid #ccc;
    padding: 10px 20px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

    .input-custom:focus {
        border-color: #007bff;
        box-shadow: 0 0 8px rgba(0,123,255,0.3);
    }

/* --- Modal icon --- */
.modal-logo {
    margin-top: 10px;
    margin-bottom: 0;
}

.modal-body h4 {
    margin-top: 5px;
}

.modal-body {
    padding-top: 0.5rem !important;
}

.modal-sm-custom {
    max-width: 400px; /* Default Bootstrap sm is 300px; this is a nice balance */
    width: 90%; /* Keeps it responsive on mobile */
}

/* Tighten modal content padding */
.sign-in-modal .modal-body {
    padding: 1rem 1.5rem 1.5rem;
}

/* Smaller header area */
.sign-in-modal .modal-header {
    padding-top: 0.8rem;
    padding-bottom: 0.2rem;
}

/* Reduce margins between sections */
.sign-in-modal h4 {
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
}

.sign-in-modal p {
    margin-bottom: 1rem;
}

.car-logo-img {
    width: 80px;
    height: auto;
    animation: carSlide 1.2s ease-in-out infinite alternate;
}

/* Car “vibrating” or sliding motion */
@keyframes carSlide {
    from {
        transform: translateX(-6px);
    }

    to {
        transform: translateX(6px);
    }
}


.forgot-link {
    font-size: 0.9rem;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .forgot-link:hover {
        color: #0056b3;
        text-decoration: underline;
    }

.modal-md-custom {
    max-width: 550px; /* Slightly larger than login modal (400px) */
    width: 95%; /* Stays responsive on mobile */
}

/* Make spacing feel balanced */
.register-modal .modal-body {
    padding: 1.5rem 2rem 2rem;
}

/* Optional — make input fields breathe */
.register-modal .form-control {
    margin-bottom: 0.75rem;
}

/* Adjust logo spacing if you have one */
.register-modal .modal-logo {
    margin-top: 10px;
    margin-bottom: 5px;
}

/* Slightly rounded for a clean modern look */
.register-modal .modal-content {
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.text-required {
    font-size: 1.2rem; /* Increase size */
    font-weight: bold; /* Make it stand out */
    margin-left: 2px; /* Space between label and asterisk */
    color: #dc3545 !important; /* Ensure it stays Bootstrap red */
}

#NICGroup, #PassportGroup {
    display: none;
}

    #NICGroup:not(.d-none), #PassportGroup:not(.d-none) {
        display: block;
    }

.rule {
    color: red;
}

    .rule.valid {
        color: blue;
    }

    .rule i {
        font-size: 10px;
        margin-right: 5px;
    }

.patternPassword {
    margin: 0px !important;
}


.input-with-icon {
    position: relative;
    display: inline-block;
    width: 100%;
}

    .input-with-icon input {
        padding-right: 45px; /* space for the eye */
    }

    .input-with-icon .toggle-password {
        position: absolute;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
        cursor: pointer;
        color: #555;
        font-size: 16px;
        z-index: 2;
        user-select: none;
    }

@media (min-width: 768px) and (max-width: 991px) {
    .nav-item .linkBtn {
        display: block;
        margin: 0 auto;
    }
}

.user-icon {
    font-size: 1.8rem;
}

@media (max-width: 576px) {
    .user-icon {
        font-size: 1.5rem;
    }

    .nav-user-menu span {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    /* Center the user area */
    .nav-user-menu {
        display: flex !important;
        justify-content: center !important;
        width: 100%;
        position: relative; /* anchor point for dropdown */
    }

        /* Force dropdown to open under the icon */
        .nav-user-menu .dropdown-menu {
            position: absolute !important; /* override bootstrap */
            top: 100% !important; /* place directly below trigger */
            left: 50% !important; /* center horizontally */
            transform: translateX(-50%) !important;
            right: auto !important;
            margin-top: .4rem; /* small spacing */
        }
}

.ribbon {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.ribbon {
    position: absolute;
    top: 0;
    right: 0;
    line-height: 1.8;
    padding-inline: 1lh;
    clip-path: polygon( 100% 100%,0 100%,999px calc(100% - 999px),calc(100% - 999px) calc(100% - 999px));
    transform: translate(calc((1 - cos(45deg))*100%), -100%) rotate(45deg);
    transform-origin: 0% 100%;
    background-color: #fe5b29; 
}

.gallery_box {
    position: relative;
}

.force-raleway {
    width: 150px;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    display: flex;
    float: initial !important;
}

.flatpickr-day.booked-date {
    background-color: #ff4d4f !important;
    color: white !important;
    border-radius: 50% !important;
}