/* Container Frame */
.osceola-form-container {
    max-width: 550px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Row Positioning */
.osceola-form-container .form-row {
    margin-bottom: 20px;
}

/* Bold Labels */
.osceola-form-container label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #333333;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Unified Inputs, Dropdowns, and Textarea */
.osceola-form-container input[type="text"],
.osceola-form-container input[type="email"],
.osceola-form-container select,
.osceola-form-container textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    background-color: #fafafa;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

/* Input Focus States */
.osceola-form-container input:focus,
.osceola-form-container select:focus,
.osceola-form-container textarea:focus {
    border-color: #0073aa;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
    outline: none;
}

/* Style Flatpickr specifically when inside our form */
.osceola-form-container input#appointment_time {
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23666" class="bi bi-calendar" viewBox="0 0 16 16"><path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

/* Action Button */
.osceola-form-container button[type="submit"] {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background: #0073aa; /* Change this to match your site's primary brand color */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease-in-out, transform 0.1s ease;
}

.osceola-form-container button[type="submit"]:hover {
    background: #005177;
}

.osceola-form-container button[type="submit"]:active {
    transform: scale(0.98);
}

.osceola-form-container button:disabled {
    background: #bbbbbb !important;
    cursor: not-allowed;
    transform: none !important;
}