.superstitious-appointment-form-container {
    max-width: 100%;
    margin: 20px 0;
    padding: 30px;
    background: #ffffff;
}

.superstitious-appointment-form {
    width: 100%;
}

.superstitious-appointment-form .form-row-group {
    display: flex !important;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.superstitious-appointment-form .form-row {
    margin-bottom: 20px;
}

.superstitious-appointment-form .form-row.half-width {
    flex: 1 !important;
    margin-bottom: 0;
    min-width: 0;
    max-width: calc(50% - 7.5px);
}

.superstitious-appointment-form .form-row.full-width {
    width: 100% !important;
    flex: none !important;
}

.superstitious-appointment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.superstitious-appointment-form label .required {
    color: #e74c3c;
    font-weight: normal;
}

.superstitious-appointment-form input[type="text"],
.superstitious-appointment-form input[type="email"],
.superstitious-appointment-form input[type="tel"],
.superstitious-appointment-form select,
.superstitious-appointment-form textarea {
    width: 100% !important;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
}

.superstitious-appointment-form input[type="text"]:focus,
.superstitious-appointment-form input[type="email"]:focus,
.superstitious-appointment-form input[type="tel"]:focus,
.superstitious-appointment-form select:focus,
.superstitious-appointment-form textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.superstitious-appointment-form textarea {
    resize: vertical;
    min-height: 80px;
}

.superstitious-appointment-form .submit-button {
    background-color: #fcae1b;
    color: white;
    padding: 16px 36px;
    border: none;
    border-radius: 20px 0px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    float: right;
    margin-bottom: 20px;
}

.superstitious-appointment-form .submit-button:hover {
    background-color: #45a049;
}

.superstitious-appointment-form .submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.appointment-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.appointment-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    display: block;
}

.appointment-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    display: block;
}

/* Datepicker customization */
.ui-datepicker {
    font-size: 14px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ui-datepicker-header {
    background: #4CAF50;
    color: white;
    border: none;
}

.ui-datepicker-title {
    color: white;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    color: white;
}

.ui-state-default {
    border: none;
    background: transparent;
    color: #333;
}

.ui-state-hover {
    background: #e8f5e9;
    border: none;
}

.ui-state-active {
    background: #4CAF50;
    color: white;
    border: none;
}

.ui-state-disabled {
    opacity: 0.3;
}

/* Loading spinner */
.superstitious-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #4CAF50;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 600px) {
    .superstitious-appointment-form-container {
        padding: 20px;
    }
    
    .superstitious-appointment-form .form-row-group {
        flex-direction: column;
        gap: 0;
    }
    
    .superstitious-appointment-form .form-row.half-width {
        margin-bottom: 20px;
    }
    
    .superstitious-appointment-form .submit-button {
        width: 100%;
    }
}