.fixed-button {
    position: fixed;
    left: 0px;
    top: 75%;
    transform: translateY(-50%);
    background-image: url("/bangalore/wp-content/uploads/2025/02/B.jpg");
    color: white;
    padding: 15px 20px;
    border: none;
    cursor: pointer;
    z-index: 999;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1px;
    overflow: hidden;
    transition: background 0.3s ease-in-out, transform 0.2s;
    flex-direction: column;
}

.button-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    animation: slideText 2s infinite ease-in-out;
}

@keyframes slideText {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}


/* Modal Styles */
     .modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 999;
}


.modal-content {
background: white;
width: 40%;
max-width: 800px; /* More than 50% for tablets/desktops */
max-height: 100vh; /* Prevent content from overflowing screen */
border-radius: 10px;
padding: 24px;
position: relative;
animation: fadeIn 0.3s ease-in-out;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* Internet Explorer/Edge */
overflow-y: scroll; /* Ensure scrolling works */
}

.modal-content::-webkit-scrollbar {
    display: none;
}


@media(min-width:770px) and (max-width:1030px){
    .modal-content{
        width: 50%;
    }
}

/* Full width for mobile */
@media (max-width: 768px) {
     .modal-content {
        width: 100%;
max-height: 90vh; /* Allow scrolling */
border-radius: 0;
    }
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


@media (max-width: 769px) {
    .row2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


.numInputWrapper {
    position: relative;
}

.numInput.cur-year {
    padding-right: 40px !important; /* Adjust for the "年" */
    text-align: right; /* Align the number to the right */
}

.numInputWrapper::after {
    content: "年";
    position: absolute;
    right: 21px; /* Adjust positioning */
    top: 48%;
    transform: translateY(-50%);
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
    pointer-events: none; /* Prevent interactions */
}

.numInputWrapper:has(.numInput:not(:disabled))::after {
    color: black !important;
}


.flatpickr-current-month .numInputWrapper {
    width:9ch !important;
}