.bh-form-wrapper {
    max-width: 600px;
    margin: 30px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.bh-form-wrapper h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
}

.bh-form-wrapper > p {
    margin: 0 0 25px 0;
    color: #666;
    font-size: 15px;
    text-align: center;
}

.bh-form-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.bh-form-group {
    flex: 1;
    min-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.bh-form-half {
    flex: 0 0 50%;
    max-width: 50%;
}

.bh-form-third {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.bh-form-full {
    flex: 0 0 100%;
    max-width: 100%;
}

.bh-form-wrapper label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.bh-form-wrapper .required {
    color: #dc3545;
}

.bh-form-wrapper input,
.bh-form-wrapper select,
.bh-form-wrapper textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    box-sizing: border-box;
}

.bh-form-wrapper input:focus,
.bh-form-wrapper select:focus,
.bh-form-wrapper textarea:focus {
    border-color: #0073aa;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}

.bh-form-wrapper input::placeholder,
.bh-form-wrapper textarea::placeholder {
    color: #aaa;
}

.bh-form-wrapper input.error,
.bh-form-wrapper select.error,
.bh-form-wrapper textarea.error {
    background: #fff5f5;
}

.bh-form-wrapper input.error:focus,
.bh-form-wrapper select.error:focus,
.bh-form-wrapper textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(220,53,69,0.1);
}

.bh-error-msg {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #dc3545;
    min-height: 16px;
}

.bh-form-wrapper select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.bh-form-wrapper textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.5;
}

.bh-form-footer {
    margin-top: 5px;
    padding: 0 10px;
}

.bh-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #0073aa 0%, #005f8d 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bh-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
}

.bh-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.bh-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.bh-submit-btn .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bh-spin 0.8s linear infinite;
    float: none;
    margin: 0;
}

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

.bh-response {
    margin: 15px 10px 0 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.bh-response.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.bh-response.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.bh-response .dashicons {
    font-size: 18px;
    vertical-align: middle;
    margin-right: 5px;
}

.bh-loading-tours {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.bh-destination-fallback {
    transition: all 0.3s ease;
}

.bh-checkbox-label,
.bh-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 8px;
}

.bh-checkbox-label input,
.bh-radio-label input {
    width: auto !important;
}

.bh-form-title {
    padding: 0 10px;
}

.bh-form-subtitle {
    padding: 0 10px;
    margin-bottom: 25px !important;
}

@media (max-width: 600px) {
    .bh-form-wrapper {
        padding: 20px !important;
        margin: 15px auto;
    }

    .bh-form-group {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .bh-form-half,
    .bh-form-third {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .bh-form-wrapper h3 {
        font-size: 20px;
    }

    .bh-submit-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    .bh-form-wrapper {
        padding: 15px !important;
        border-radius: 12px;
    }
}
