/* Form styling for Flamingo Cleaning Services */

/* Error state for form inputs */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff6b6b !important;
    background-color: rgba(255, 107, 107, 0.05) !important;
    box-shadow: 0 0 0 1px #ff6b6b !important;
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3) !important;
}

/* Focus state enhancement */
.form-group.focused label {
    color: #b44354 !important;
    transform: translateY(-20px) scale(0.85) !important;
    font-weight: 600 !important;
}

/* Sending state for submit button */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form completion animation */
@keyframes formSuccess {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    animation: formSuccess 0.6s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #b44354;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.success-icon i {
    font-size: 40px;
    color: #ffffff;
}

.form-success h3 {
    color: #b44354;
    margin-bottom: 15px;
}

.form-success .btn {
    margin-top: 20px;
}

/* Date picker styling */
input[type="date"] {
    position: relative;
    padding-right: 40px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background-color: #f4a1ad;
    padding: 5px;
    border-radius: 4px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    background-color: #b44354;
} 