﻿

.b-page-title {
    margin: 1.5rem 0 1rem;
    font-size: 1.9rem;
    font-weight: 700;
    color: #2144AB; /* deep indigo/purple, matches the screenshot heading */
}

.b-feedback-band {
    background: #2144AB; /* the solid purple band behind the white card */
    border-radius: 8px;
    padding: 2.5rem;
}

.b-feedback-card {
    max-width: 780px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem 2.5rem 2.5rem;
    box-shadow: 0 18px 40px -14px rgba(15, 23, 42, .35);
}

.b-feedback-alert {
    margin-bottom: 1.5rem;
    padding: .8rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.b-feedback-alert-success {
    background: #e6f7ec;
    color: #146c3a;
    border: 1px solid #bfe8cd;
}

.b-feedback-alert-error {
    background: #fdecec;
    color: #b91c1c;
    border: 1px solid #f6c2c2;
}

.b-field {
    margin-bottom: 1.5rem;
}

    .b-field label {
        display: block;
        margin-bottom: .5rem;
        font-weight: 700;
        color: #2c1a6b;
        font-size: .95rem;
    }

.b-input {
    width: 100%;
    padding: .7rem .9rem;
    font-size: .95rem;
    color: #1f2937;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    transition: border-color .15s, box-shadow .15s;
}

    .b-input:focus {
        outline: none;
        border-color: #2c1a6b;
        box-shadow: 0 0 0 3px rgba(44, 26, 107, .15);
    }

.b-textarea {
    resize: vertical;
    min-height: 130px;
}

.b-field-error {
    display: block;
    margin-top: .35rem;
    font-size: .85rem;
    color: #dc2626;
}

/* ---------- Captcha ---------- */
.b-captcha-box {
    max-width: 320px;
}

.b-captcha-visual {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: .6rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
}

.b-captcha-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .9rem;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: .05em;
    color: #64748b;
    background: #f1f5f9;
    font-family: 'Comic Sans MS', cursive, sans-serif; /* gives the wobbly captcha-ish look */
    user-select: none;
}

.b-captcha-actions {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #cbd5e1;
}

.b-captcha-icon-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #cbd5e1;
    color: #2c1a6b;
    cursor: pointer;
    transition: background .15s;
}

    .b-captcha-icon-btn:last-child {
        border-bottom: 0;
    }

    .b-captcha-icon-btn:hover {
        background: #f1f5f9;
    }

.b-send-btn {
    padding: .75rem 1.8rem;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    background: #2c1a6b;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

    .b-send-btn:hover {
        background: #1e1250;
        transform: translateY(-1px);
    }

@media (max-width: 575.98px) {
    .b-feedback-band {
        padding: 1rem;
    }

    .b-feedback-card {
        padding: 1.5rem 1.25rem 2rem;
    }
}
