/* SHW Appt - Public Styles */

.shw-appt-wrapper {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.shw-appt-form .shw-field {
    margin-bottom: 20px;
}

.shw-appt-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.shw-appt-form .required {
    color: #e53935;
}

.shw-appt-form input[type="text"],
.shw-appt-form input[type="email"],
.shw-appt-form input[type="tel"],
.shw-appt-form input[type="date"],
.shw-appt-form select,
.shw-appt-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    background: #fff;
}

.shw-appt-form input:focus,
.shw-appt-form select:focus,
.shw-appt-form textarea:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33,150,243,0.15);
}

.shw-appt-form input.error,
.shw-appt-form select.error,
.shw-appt-form textarea.error {
    border-color: #e53935;
    background: #fff5f5;
}

.shw-appt-form .shw-checkbox {
    display: flex;
    align-items: flex-start;
}

.shw-appt-form .shw-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
    cursor: pointer;
    line-height: 1.5;
}

.shw-appt-form .shw-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    flex-shrink: 0;
}

.shw-appt-form .shw-checkbox a {
    color: #2196F3;
}

.shw-appt-form .shw-submit {
    text-align: center;
    margin-top: 25px;
}

.shw-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #2196F3;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.shw-btn:hover {
    background: #1976D2;
}

.shw-btn:active {
    transform: scale(0.98);
}

.shw-btn:disabled {
    background: #bbb;
    cursor: not-allowed;
    transform: none;
}

.shw-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid #ddd;
    border-top-color: #2196F3;
    border-radius: 50%;
    animation: shw-spin 0.8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

.shw-spinner.active {
    display: inline-block;
}

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

.shw-message {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.shw-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.shw-message.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Responsive */
@media (max-width: 640px) {
    .shw-appt-wrapper {
        margin: 10px;
        padding: 20px;
    }
    
    .shw-btn {
        width: 100%;
    }
}
