/* ================================================================
   BBX LEARNING — enquiry-form.css
   Shared "Quick Enquiry" lead form, used across course landing pages.
   Self-contained (does not depend on any page-specific stylesheet).
   ================================================================ */

.bbx-ef-section {
    position: relative;
    padding: 70px 20px;
    background: linear-gradient(180deg, #0c0c10 0%, #131318 100%);
}

.bbx-ef-container {
    max-width: 640px;
    margin: 0 auto;
}

.bbx-ef-header {
    text-align: center;
    margin-bottom: 2rem;
}

.bbx-ef-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.35);
    color: #ff8c3a;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.bbx-ef-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.bbx-ef-title span {
    color: var(--accent-color, #ff6b00);
}

.bbx-ef-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
}

.bbx-ef-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.bbx-ef-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
}

.bbx-ef-field {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.bbx-ef-field label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
}

.bbx-ef-field input,
.bbx-ef-field select,
.bbx-ef-field textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: border-color .2s, background .2s;
    width: 100%;
}

.bbx-ef-field input::placeholder,
.bbx-ef-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.bbx-ef-field input:focus,
.bbx-ef-field select:focus,
.bbx-ef-field textarea:focus {
    border-color: var(--accent-color, #ff6b00);
    background: rgba(255, 255, 255, 0.08);
}

.bbx-ef-field input[readonly] {
    opacity: 0.7;
    cursor: default;
}

.bbx-ef-field textarea {
    resize: vertical;
    min-height: 80px;
}

.bbx-ef-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--accent-color, #ff6b00);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: filter .2s, transform .2s;
}

.bbx-ef-submit:hover:not(:disabled) {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.bbx-ef-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.bbx-ef-note {
    margin-top: 0.9rem;
    font-size: 0.82rem;
    text-align: center;
    min-height: 1.2em;
    font-family: 'Outfit', sans-serif;
}

.bbx-ef-note--ok {
    color: #4ade80;
}

.bbx-ef-note--err {
    color: #f87171;
}

@media (max-width: 576px) {
    .bbx-ef-row {
        flex-direction: column;
    }

    .bbx-ef-card {
        padding: 1.4rem;
    }

    .bbx-ef-title {
        font-size: 1.5rem;
    }
}
