/* Modern Pill Button Components */
.btn-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 10px;
    background-color: #4A6B8A;
    color: #ffffff;
    font-family: 'AZURESans', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 11px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    /* Remove tap highlight */
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.btn-new:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Add dot to buttons without icons */
.btn-new:not(.has-icon):before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    flex-shrink: 0;
}

/* Button Hover Effects */
.btn-new:hover {
    background-color: #5C7E9F;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

/* Button Variations */
.btn-new.btn-blue {
    background-color: #0C436A;
    color: #fff;
    padding-top: 15px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 15px;
}

.btn-new.btn-blue:hover {
    background-color: #1565C0;
}

.btn-new.btn-white {
    background-color: #fff;
    color: #0D47A1;
    border: 2px solid #0D47A1;
}

.btn-new.btn-white:hover {
    background-color: #f5f5f5;
    border-color: #1565C0;
    color: #1565C0;
}

/* Ensure dot color matches button text color for white buttons */
.btn-new.btn-white:not(.has-icon):before {
    background-color: #0D47A1;
}

.btn-new.btn-white:hover:not(.has-icon):before {
    background-color: #1565C0;
}

/* Additional Button Styles */
.btn-new.btn-gold {
    background-color: var(--azure-gold);
    color: #fff;
}

.btn-new.btn-gold:hover {
    background-color: #c8873d;
}

/* Modern Pill Button Component */
.btn-animated {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: #4A6B8A;
    color: #ffffff;
    font-family: 'AZURESans', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Add dot to animated buttons without arrows/icons */
.btn-animated:not(.has-arrow):not(.has-icon):before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    flex-shrink: 0;
}

.btn-animated .btn-text {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.btn-animated .btn-icon {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-animated .btn-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-animated .btn-arrow {
    position: absolute;
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.btn-animated .arrow-line {
    position: absolute;
    left: 45.53%;
    right: 34.47%;
    top: 50%;
    height: 1.3px;
    background-color: currentColor;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
}

.btn-animated .arrow-head {
    position: absolute;
    left: 45.53%;
    right: 34.47%;
    top: 30.46%;
    bottom: 52.61%;
    border-right: 1.3px solid currentColor;
    border-top: 1.3px solid currentColor;
    transform: rotate(45deg);
    width: 6px;
    height: 6px;
}

/* Modern Button Hover Effects */
.btn-animated:hover {
    background-color: #5C7E9F;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.btn-animated:hover .btn-arrow-right {
    transform: translateX(5px);
}

.btn-animated:hover .btn-arrow-left {
    transform: translateX(-5px);
}

/* Button Variants */
.btn-animated.btn-blue {
    background-color: #0D47A1;
    color: #fff;
}

.btn-animated.btn-blue:hover {
    background-color: #1565C0;
}

.btn-animated.btn-white {
    background-color: #fff;
    color: #0D47A1;
    border: 2px solid #0D47A1;
}

.btn-animated.btn-white:hover {
    background-color: #f5f5f5;
    border-color: #1565C0;
}

.btn-animated.btn-gold {
    background-color: var(--azure-gold);
    color: #fff;
}

.btn-animated.btn-gold:hover {
    background-color: #c8873d;
}

/* Hover Effects */
.btn-animated:hover .btn-text {
    animation: wave 0.6s ease-in-out;
}

.btn-animated:hover .btn-dot {
    opacity: 0;
    transform: scale(0);
}

.btn-animated:hover .btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

.btn-animated:hover .btn-icon {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-animated.btn-white:hover .btn-icon {
    background-color: rgba(12, 67, 106, 0.1);
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-2px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-1px); }
}

/* Form Components */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Force label to stay up */
.label-up {
    bottom: 0.25rem !important;
    top: 0.1rem !important;
    font-size: 0.75rem !important;
    font-weight: 700;
    color: var(--azure-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.form-input {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    background: white;
    color: black;
}

.form-input:focus {
    outline: none;
    border-color: #666;
}

.form-input:read-only {
    background: #f5f5f5;
    color: #666;
}

.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--medium-grey);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: var(--white);
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--azure-light-blue);
    box-shadow: 0 0 0 3px rgba(64, 150, 202, 0.1);
}

.form-note {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.5rem;
    padding: 0;
    line-height: 1.3;
}

.form-note i {
    color: #999;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.required {
    color: var(--danger);
}

/* Phone Input Component - Single Field Design (Original) */
.phone-input-container {
    display: flex;
    align-items: center;
    border: 1.5px solid #e0e6ed;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.phone-input-container:focus-within {
    background: #ffffff;
    border-color: #0C436A;
    box-shadow: 0 0 0 3px rgba(12, 67, 106, 0.1);
}

.country-code-select {
    background: transparent;
    color: #333;
    border: none;
    padding: 0.875rem 0.5rem 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'AZURESans', sans-serif;
    border-right: 1px solid #e0e6ed;
    outline: none;
    cursor: pointer;
    min-width: 80px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23666' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 10px;
    padding-right: 1.75rem;
}

.phone-input {
    flex: 1;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'AZURESans', sans-serif;
}

.phone-input::placeholder {
    color: #999;
    font-weight: 400;
}

/* Remove phone-input-group as we're using single field */
.phone-input-group {
    display: contents;
}

/* Registration Form Components */
.progress-bar {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0;
    z-index: 5;
}

.progress-step {
    width: 50px;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
}

.progress-step.active {
    background-color: #0c436a;
}

.reg-form {
    display: flex;
    flex-direction: column;
}

/* Registration Form Group - Floating Label Animation */
.reg-form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Input field */
.reg-input {
    width: 100%;
    padding: 1rem 0.75rem 0.5rem;
    border: none;
    border-bottom: 1px solid #e0e6ed;
    background: transparent;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
    font-family: 'AZURESans', sans-serif;
}

.reg-input:focus {
    outline: none;
    border-bottom-color: var(--azure-primary);
}

/* Label starts inside the input field - gray color */
.reg-form-group label {
    position: absolute;
    left: 0.75rem;
    top: 1rem;
    color: #999;
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* When focused or filled - Label floats up, turns blue, becomes small uppercase */
.reg-input:focus + label,
.reg-input:not(:placeholder-shown) + label,
.reg-input[type="date"] + label {
    top: 0.25rem;
    font-size: 0.75rem;
    color: var(--azure-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reg-form-group.readonly label {
    position: static;
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0c436a;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.reg-input:focus ~ .input-border {
    transform: scaleX(1);
}

.error-message {
    color: var(--danger);
    font-size: 11px;
    text-transform: uppercase;
    margin-top: 0.5rem;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.reg-form-group.has-error .reg-input {
    border-bottom-color: var(--danger);
    animation: shake 0.5s ease-in-out;
}

.reg-form-group.has-error .error-message {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.reg-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

/* Calendar Components */
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.calendar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--azure-gold);
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-btn:hover {
    background: var(--azure-primary);
    transform: scale(1.05);
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 1rem;
}

.weekday {
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-light);
    padding: 0.5rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
}

.calendar-day.available {
    background: rgba(255, 255, 255, 0.9);
    color: var(--azure-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.calendar-day.available:hover {
    background: var(--azure-gold);
    color: var(--white);
    border-color: var(--azure-gold);
    transform: scale(1.05);
}

.calendar-day.selected {
    background: var(--azure-gold);
    color: var(--white);
    border-color: var(--azure-gold);
    box-shadow: 0 4px 12px rgba(214, 153, 92, 0.4);
}

.calendar-day.disabled {
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    opacity: 0.3;
    background: rgba(255, 255, 255, 0.05);
}

.calendar-day.other-month {
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.3;
}

.calendar-day.today {
    border: 2px solid var(--azure-light);
    font-weight: 600;
}

/* Time Slot Components */
.time-slots-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.time-slot {
    padding: 0.75rem 1rem;
    border: 2px solid var(--medium-grey);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
    font-size: 0.9rem;
    min-width: 120px;
    flex: 0 0 auto;
}

.time-slot:hover {
    border-color: var(--azure-light);
    background: var(--azure-light);
    color: var(--white);
}

.time-slot.selected {
    background: var(--azure-primary);
    color: var(--white);
    border-color: var(--azure-primary);
}

.time-slot.booked {
    background: #E9D4BF;
    color: var(--white);
    border-color: #E9D4BF;
    cursor: not-allowed;
    opacity: 0.8;
    font-weight: 600;
}

/* Project Card Components */
.project-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 78, 115, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    height: 280px;
    will-change: transform;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 78, 115, 0.12);
    border-color: var(--azure-light-blue);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
}

.project-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.project-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.project-card:hover .project-cta {
    gap: 0.75rem;
}

/* Appointment Card Components */
.appointment-card {
    flex-shrink: 0;
    width: 300px;
    background: linear-gradient(135deg, var(--azure-beige), #E8D4C1);
    color: var(--text-dark);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(223, 197, 174, 0.3);
}

.appointment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(223, 197, 174, 0.4);
}

.appointment-card.past {
    background: linear-gradient(135deg, var(--text-light), var(--medium-grey));
}

.appointment-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(80, 71, 57, 0.15);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.appointment-status.upcoming {
    background: var(--azure-gold);
    color: var(--white);
}

.appointment-status.past {
    background: var(--text-light);
}

.appointment-date {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.appointment-time {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.appointment-location {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.appointment-actions {
    display: flex;
    gap: 0.5rem;
}

.appointment-btn {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.appointment-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.appointment-btn.cancel {
    background: var(--azure-beige);
    border-color: var(--azure-beige);
    color: var(--text-dark);
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1.2px solid rgba(12, 67, 106, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-btn::before,
.close-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    width: 50%;
    height: 1.3px;
    background-color: #0C436A;
    border-radius: 5px;
}

.close-btn::before {
    transform: translateY(-50%) rotate(45deg);
}

.close-btn::after {
    transform: translateY(-50%) rotate(-45deg);
}

.close-btn:hover {
    background-color: rgba(12, 67, 106, 0.1);
}

/* Summary Item */
.summary-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Detail Item */
.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-icon {
    color: var(--text-light);
    width: 20px;
    text-align: center;
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-weight: 600;
    color: var(--azure-primary);
    font-size: 0.9rem;
}

.detail-value {
    color: var(--text-dark);
    margin-top: 0.25rem;
}

/* Success Icon */
.success-icon {
    font-size: 4rem;
    color: var(--azure-gold);
    margin-bottom: 1.5rem;
}

.success-icon i {
    background: linear-gradient(135deg, var(--azure-gold) 0%, #f4c430 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(214, 153, 92, 0.3));
}

/* Form Validation Styling */
.error-message {
    color: #e74c3c;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
    display: block;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    font-family: 'AZURESans', sans-serif;
}

.reg-form-group.has-error .error-message {
    opacity: 1;
    transform: translateY(0);
}

.reg-form-group.has-error input,
.reg-form-group.has-error select {
    border-color: #e74c3c;
    box-shadow: none;
    border-bottom: 2px solid #e74c3c;
    color: var(--azure-primary);
    background: transparent;
}

.reg-form-group.has-error input:focus,
.reg-form-group.has-error select:focus {
    border-color: #e74c3c;
    box-shadow: none;
    outline: none;
}

/* Email field specific styling */
.reg-form-group.has-error input[type="email"] {
    color: var(--azure-primary);
    font-weight: 500;
    background: transparent;
    border-bottom: 2px solid #e74c3c;
    border-radius: 0;
    box-shadow: none;
}

/* Success state for valid fields */
.reg-form-group.is-valid input,
.reg-form-group.is-valid select {
    border-color: #27ae60;
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.1);
}

/* Continue button container */
.continue-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

/* Toggle Button Group */
.toggle-group {
    display: flex;
    gap: 0;
    border-radius: 25px;
    border: 2px solid #e0e6ed;
    overflow: hidden;
    margin-top: 4rem;
    margin-bottom: 1rem;
    background: #ffffff;
}

.toggle-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    background: #f8f9fa;
    color: #6c757d;
    font-family: 'AZURESans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn:first-child {
    border-top-left-radius: 23px;
    border-bottom-left-radius: 23px;
}

.toggle-btn:last-child {
    border-top-right-radius: 23px;
    border-bottom-right-radius: 23px;
}

.toggle-btn:hover {
    background: rgba(13, 71, 161, 0.1);
    color: #0D47A1;
}

.toggle-btn.active {
    background: #0D47A1;
    color: white;
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.3);
    transform: none;
    z-index: 2;
    position: relative;
}

.toggle-btn.active:hover {
    background: #1565C0;
    color: white;
}

/* Smooth animation for state changes */
.toggle-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    /* Remove tap highlight and focus outline */
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.toggle-btn:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Multi-option toggle for bedrooms */
.toggle-group.bedrooms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 12px;
    border-radius: 20px;
    padding: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
    justify-items: center;
}

.toggle-group.bedrooms .toggle-btn {
    border-radius: 50%;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    width: 50px;
    height: 50px;
    min-height: 50px;
    background: #f8f9fa;
    border: 2px solid #e0e6ed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
    letter-spacing: 0;
}

.toggle-group.bedrooms .toggle-btn.active {
    background: #0D47A1;
    color: white;
    border-color: #0D47A1;
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.3);
}

.toggle-group.bedrooms .toggle-btn:hover {
    background: rgba(13, 71, 161, 0.1);
    border-color: #0D47A1;
    color: #0D47A1;
}

.toggle-group.bedrooms .toggle-btn.active:hover {
    background: #1565C0;
    border-color: #1565C0;
    color: white;
}

/* Responsive adjustments for bedroom buttons */
/* Increased breakpoint to 960px to handle browser zoom */
@media (max-width: 960px) {
    .toggle-group.bedrooms {
        gap: 8px;
        padding: 4px;
    }
    
    .toggle-group.bedrooms .toggle-btn {
        width: 45px;
        height: 45px;
        min-height: 45px;
        font-size: 14px;
    }
}

/* Form labels for toggle groups */
.form-label {
    display: block;
    font-size: 0.85rem;
    color: #0D47A1;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: 'AZURESans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}