/* AJ Booking Form - Modern UI */

.ajbf-wrapper {
    max-width: 480px;
    margin: 40px auto;
    padding: 24px 24px 28px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ajbf-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ajbf-title {
    margin: 0 0 4px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.ajbf-subtitle {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: #6b7280;
}

.ajbf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ajbf-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
}

.ajbf-field input[type="text"],
.ajbf-field input[type="email"],
.ajbf-field input[type="tel"] {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    background-color: #f9fafb;
}

.ajbf-field input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25);
    background-color: #ffffff;
}

.ajbf-help {
    font-size: 0.75rem;
    color: #6b7280;
}

.ajbf-date-options,
.ajbf-time-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ajbf-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.ajbf-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ajbf-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    font-size: 0.8rem;
    background-color: #f9fafb;
    color: #374151;
    transition: all 0.2s ease;
}

.ajbf-chip input:checked + span {
    border-color: #2563eb;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.ajbf-actions {
    margin-top: 6px;
}

.ajbf-submit {
    width: 100%;
    padding: 11px 16px;
    border-radius: 999px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.35);
}

.ajbf-submit:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(79, 70, 229, 0.4);
}

.ajbf-submit:active {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.ajbf-message {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ajbf-success {
    background-color: #ecfdf3;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.ajbf-error {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

@media (max-width: 600px) {
    .ajbf-wrapper {
        margin: 20px 12px;
        padding: 20px 18px 22px;
    }
}
