/*
 * =============================================================================
 * Copyright (c) 2026 Paseo Platform LLC. All rights reserved.
 *
 * CONFIDENTIAL AND PROPRIETARY
 *
 * For licensing inquiries: www.paseoplatform.com
 * =============================================================================
 */

/**
 * Paseo Platform - Bootstrap Form Compaction Overrides
 *
 * Extracted from inline <style> in templates/reports/base.html as part of
 * PASEO-ENH-FE-003. These overrides target Bootstrap's `.form-*` and
 * `.mb-3` classes and are intentionally separate from
 * components/forms.css (which defines Paseo-prefixed `.form-*-paseo`
 * classes — different namespace, no overlap).
 */

.form-group,
.mb-3 {
    margin-bottom: 0.5rem !important;
}

.form-label,
label {
    margin-bottom: 0.15rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-control,
.form-select {
    padding: 0.35rem 0.5rem;
    font-size: 0.9rem;
    width: 100%;
    min-width: 250px;
}

textarea.form-control {
    min-width: 350px;
    min-height: 100px;
}

/* Wider input fields for primary text inputs */
input[type="text"].form-control,
input[type="email"].form-control,
input[type="url"].form-control,
input[type="search"].form-control,
input[type="tel"].form-control {
    min-width: 300px;
}

/* Table form fields should be flexible */
table .form-control,
table input[type="text"],
table textarea {
    min-width: 150px;
    width: 100%;
}

.form-text,
.help-block,
small.text-muted {
    font-size: 0.75rem;
    margin-top: 0.1rem;
}
