/* General Form Step Display */
.form-step {
    display: none;
    padding: 20px;
}

.form-step-active {
    display: block;
}
.my-container{
    max-width: 1140px;
}
/* Radio Button Container */
.radio-container {
    display: inline-block;
    margin: 15px;
    border: 2px solid #ccc;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.radio-container.active {
    border: 3px solid #007bff; /* Ensure a visible border */
    background-color: #e9f5ff;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
    animation: pulse-border 0.5s ease-in-out;
}

/*Star Location*/
/* Layout for All Locations */
#alllcocation {
    display: flex;
    flex-wrap: wrap;
/*    justify-content: space-between;*/
    gap: 15px;
    margin-top: 20px;
}


.location-container {
    width: 22%;  
    text-align: center;
    margin-bottom: 20px;
    border: 2px solid #ccc; 
    border-radius: 12px;  
    padding: 10px;  
    transition: all 0.3s ease-in-out;  
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);  
    position: relative;
    background-color: #fff;  
}


.location-container:hover {
    transform: scale(1.05); 
    box-shadow: 0 2px 12px rgba(0, 123, 255, 0.4); 
}


.location-container.active {
    border: 3px solid #007bff;  
    background-color: #263B5C;  
    color: white;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5); 
}


.location-container input[type="radio"] {
    display: none;  
}


.location-img {
    width: 100%; 
    height: 200px; 
    object-fit: contain; 
    border-radius: 8px; 
    margin-bottom: 10px;
}

/* Location Title */
.location-title {
    font-size: 1rem; 
    font-weight: 600;
    color: #333;  
    margin-top: 8px;  
    text-align: center; 
    transition: color 0.3s ease;
}

/* Hover effect on location title */
.location-container:hover .location-title {
  color: #007bff;
}

.location-container.active .location-title {
    color: white;  
}

/* Responsive Layout Adjustments */
@media (max-width: 1024px) {
    .location-container {
        width: 30%; 
    }
}

@media (max-width: 768px) {
    .location-container {
        width: 48%;  
    }
}

@media (max-width: 480px) {
    .location-container {
        width: 100%;  
    }

    .location-img {
        height: 200px; 
        object-fit: contain; 
    }

    .location-title {
        font-size: 0.9rem; 
    }
}
/* end location */

#appointmentSlots .radio-container:hover {
    background-color: #263B5C;
    color: white;
}


#appointmentSlots .radio-container:hover {
    background-color: #263B5C;
    color: white;
}

/* Animation for Pulse Border (if needed) */
@keyframes pulse-border {
    0% {
        box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.2);
    }
    50% {
        box-shadow: 0px 0px 15px rgba(0, 123, 255, 0.5);
    }
    100% {
        box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.2);
    }
}


#appointmentSlots .radio-container.active {
    border: 3px solid #007bff; 
    background-color: #263B5C;
    color: white;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
    animation: pulse-border 0.5s ease-in-out;
}

/* Hidden Radio Input */
.radio-container input[type="radio"] {
    display: none;
}

.next-step ,.prev-step{
    line-height: 38px !important;
}

/* Hover Effect */
.radio-container:hover {
    transform: scale(1.02);
}

/* Checkmark Icon */

/* Pulse Animation for Border */
@keyframes pulse-border {
    0% {
        box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.2);
    }
    50% {
        box-shadow: 0px 0px 15px rgba(0, 123, 255, 0.5);
    }
    100% {
        box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.2);
    }
}

/* Buttons */
button {
    border-radius: 25px;
    padding: 10px 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #0056b3;
    color: #fff;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Form Control */
.form-control {
    border-radius: 10px;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #ccc;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

input:valid {
    border-color: #28a745;
}

/* Progress Bar */
.progress-bars {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    list-style-type: none;
    flex-direction: row;
    gap: 20px;
    padding: 15px;
    counter-reset: step;
}

.progress-bars li {
    position: relative;
    text-align: center;
    flex: 1;
}

.progress-bars li::before {
    content: counter(step);
    counter-increment: step;
    width: 30px;
    height: 30px;
    border: 2px solid #007bff;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: white;
    color: #007bff;
    line-height: 30px;
}

.progress-bars li.active::before {
    background-color: #263B5C;
    color: white;
}

.progress-bars li::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: #263B5C;
    position: absolute;
    top: 15px;
    left: -50%;
    z-index: -1;
}

.progress-bars li:first-child::after {
    display: none;
}
