.form-group {
    position: relative;
    margin-bottom: 15px;
}
.form-control.is-invalid {
    border-color: #dc3545;
    border-width: 2px;
    background-color: #fff;
    border-style: solid;
}
.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 4px;
}
@keyframes notificationBounce {
    0% {
        transform: scale(0.95);
    }
    40% {
        transform: scale(1.05);
    }
    60% {
        transform: scale(0.98);
    }
    80% {
        transform: scale(1.02);
    }
    90% {
        transform: scale(0.99);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.notification {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform-origin: top center;
}
.notification.show {
    display: block;
    animation: 
        notificationBounce 0.8s cubic-bezier(0.36, 0, 0.66, -0.56) forwards,
        fadeIn 0.2s ease-out forwards;
}
.notification.fade {
    animation: none;
    opacity: 0;
}
.notification.error {
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
}
.notification.success {
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
}

/* Checkbox styling */
.form-check-input[type="checkbox"] {
    width: 1.5em;
    height: 1.5em;
    margin-top: 0.25em;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-check-input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.form-check-input[type="checkbox"]:hover {
    border-color: var(--primary-color);
}

.form-check-input[type="checkbox"].is-invalid {
    border-width: 2px;
    border-color: #dc3545;
}

/* Adjust the checkbox container spacing */
.checkbox-container {
    padding: 10px;
    border-radius: 4px;
}

#no-dog-policy-feedback {
    margin-top: 0;
    margin-bottom: 10px;
}

.general-enquiries-container,
.booking-enquiries-container {
    display: grid; 
    grid-template-columns: calc(50% - 20px) calc(50% - 20px); 
    gap: 40px;
    max-width: 1200px;
}

@media (max-width: 980px) {
    .general-enquiries-container,
    .booking-enquiries-container {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

.booking-form-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 600px) {
    .booking-form-grid-row {
        grid-template-columns: 1fr;
    }
}