﻿/* custom CSS file */
body {
    font-family: 'Roboto', sans-serif;
}

header {
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.ContentArea {
    padding-top: 66px; /* Adjust based on header height */
}

.form-input {
    padding: 0.5rem;
    margin-top: 0.125rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.search-button {
    padding: 0.5rem 1rem;
    color: white;
    background-color: #3b82f6;
    border-radius: 0.375rem;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-top: 0.125rem;
}

    .search-button:hover {
        background-color: #2563eb;
    }

dt {
    font-weight: 500;
}

a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    text-decoration: none;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
}

.step {
    flex: 1;
    position: relative;
    text-align: center;
}

    .step:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 4px;
        background: #d1d5db;
        top: 50%;
        left: 0;
        z-index: -1;
    }

    .step.active:before {
        background: #3B82F6;
    }

    .step:first-child:before {
        width: 50%;
        left: 50%;
    }

    .step:last-child:before {
        width: 50%;
    }

.step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background: #d1d5db;
    color: white;
    font-weight: bold;
}

.step.active .step-number {
    background: #3B82F6;
}

.star {
    font-size: 2rem;
    color: #e2e8f0; /* Light gray for default */
}

    .star.checked {
        color: #f59e0b; /* Yellow for checked */
    }

    .star.small {
        font-size: 1rem;
    }

.wizard-step {
    display: none;
}

    .wizard-step.active {
        display: block;
    }


#loadingMessage {
    display: none;
    text-align: center;
    font-size: 18px;
    margin-top: 20px;
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-progress-bar {
    width: 100.8px;
    height: 16.8px;
    border-radius: 16.8px;
    background: repeating-linear-gradient(135deg, #474bff 0 8.4px, rgba(71, 75, 255, 0.75) 0 16.8px) left/0% 100% no-repeat, repeating-linear-gradient(135deg, rgba(71, 75, 255, 0.2) 0 8.4px, rgba(71, 75, 255, 0.1) 0 16.8px) left/100% 100%;
    animation: progress-p43u5e 20s infinite;
    margin: 20px auto;
}

@keyframes loading-progress-bar-animation {
    100% {
        background-size: 100% 100%;
    }
}

@media (max-width: 768px) {
    .google-maps {
        height: 12em;
    }
}

#map {
    height: 20rem !important;
}

@media (max-width: 768px) {
    #map {
        height: 10rem !important;
    }
}

/* Mobile responsiveness fixes */
@media (max-width: 576px) {
    .fc .fc-toolbar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .fc .fc-toolbar-title {
        font-size: 1.2rem;
    }

    .fc .fc-button {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }

    .fc-event {
        font-size: 0.8rem;
    }

    .tw-btn-primary, .tw-btn-secondary {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Extra Small devices */
@media (max-width: 360px) {
    .fc .fc-toolbar-title {
        font-size: 1rem;
    }

    .fc .fc-button-group {
        display: flex;
        flex-wrap: wrap;
    }

    .tw-btn-primary, .tw-btn-secondary {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    #calendar {
        min-height: 250px !important;
    }
}

/* Custom screen size for xs screens */
@media (min-width: 400px) {
    .xs\:tw-inline {
        display: inline !important;
    }
}

/* Modal responsiveness */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .modal-body {
        padding: 1rem;
    }

    .form-control {
        font-size: 0.9rem;
    }
}

/* Enhanced mobile calendar styles */
.tw-mobile-calendar .fc-toolbar {
    gap: 0.5rem;
}

/* Better spacing for mobile calendar header */
@media (max-width: 767px) {
    .fc .fc-toolbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .fc .fc-toolbar-title {
        font-size: 1.1rem;
        font-weight: 600;
        line-height: 1.2;
        margin: 0;
        text-align: center;
    }

    .fc .fc-button {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .fc .fc-button-primary {
        background-color: #3B82F6;
        border-color: #2563EB;
    }

        .fc .fc-button-primary:not(:disabled):hover {
            background-color: #2563EB;
        }

        .fc .fc-button-primary:not(:disabled).fc-button-active,
        .fc .fc-button-primary:not(:disabled):active {
            background-color: #1D4ED8;
            border-color: #1E40AF;
        }

    /* Fix for duplicated list buttons */
    .fc .fc-button-group {
        gap: 0.25rem;
    }

    /* Footer toolbar for view buttons */
    .fc-footer-toolbar {
        margin-top: 1rem;
        border-top: 1px solid #e5e7eb;
        padding-top: 1rem;
    }

    /* Better empty calendar message */
    .fc-list-empty {
        background-color: #f9fafb;
        padding: 2rem 1rem;
        text-align: center;
        color: #6b7280;
        font-size: 0.95rem;
    }

    /* Better date format in list view */
    .fc-list-day-text {
        font-weight: 600;
    }

    .fc-list-day-side-text {
        font-weight: normal;
        color: #6b7280;
    }
}

/* Extra small devices - additional fixes */
@media (max-width: 359px) {
    .fc .fc-toolbar-title {
        font-size: 1rem;
    }

    .fc .fc-toolbar > * > :not(:first-child) {
        margin-left: 0.25rem;
    }

    .fc .fc-button {
        padding: 0.35rem 0.5rem;
        font-size: 0.8rem;
    }
}


@keyframes glow {
    0%, 100% {
        /* no glow at start/end */
        box-shadow: 0 0 0px rgba(0, 150, 255, 0);
    }

    50% {
        /* full glow in mid‐animation */
        box-shadow: 0 0 8px rgba(0, 150, 255, 0.9);
    }
}


input[type="checkbox"].glow-checkbox {
    /* (optional) ensure there’s a visible border if needed */
    border: 2px solid rgba(0, 150, 255, 0.7);
    border-radius: 3px;
    /* size-up so the glow doesn’t get cut off */
    transform-origin: center center;
    transform: scale(1.5);
    /* run the “glow” animation forever, alternating every 1s */
    animation: glow 1s infinite;
}

input[type="checkbox"] {
    /* (optional) ensure there’s a visible border if needed */
    border: 2px solid rgba(0, 150, 255, 0.7);
    border-radius: 3px;
    /* size-up so the glow doesn’t get cut off */
    transform-origin: center center;
    transform: scale(1.5);
    /*display: inline-block;*/
    /*margin-left: 1em !important;*/
}
