/* ======================
   Minimal & Perfect UI/UX Design
   Refined spacing, subtle interactions, clean aesthetics
   ====================== */

/* Labels – clean, readable, aligned */
.control-label {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.control-label p {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}

.control-label .text-danger {
    color: #dc2626;
    font-size: 1.25rem;
    line-height: 1;
}

/* Help icon – perfectly aligned */
.fa-circle-question {
    color: #6c757d;
    font-size: 1rem;
    cursor: help;
    margin-left: 0.25rem;
    transition: color 0.2s;
}

.fa-circle-question:hover {
    color: #0750ef;
}

/* Form inputs – minimal, spacious, modern */
.form-control {
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    height: auto;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #0750ef;
    box-shadow: 0 0 0 3px rgba(7, 80, 239, 0.2);
    outline: none;
}

/* Textarea – comfortable height */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    padding: 0.75rem 1rem;
}

/* Bootstrap select – consistent with inputs */
.bootstrap-select .btn {
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background-color: #fff;
}

.bootstrap-select .btn:focus {
    border-color: #0750ef;
    box-shadow: 0 0 0 3px rgba(7, 80, 239, 0.2);
}

/* Radio buttons – clean spacing */
.radio {
    margin: 0.75rem 0;
}

.radio label {
    font-size: 0.95rem;
    padding-left: 0.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio input[type="radio"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #0750ef;
    margin: 0;
}

/* Small spacing between every field */
.form-group {
    margin-bottom: 1rem;
}

/* Also apply spacing to any direct field container (for flexibility) */
.radio,
.checkbox,
.bootstrap-select,
.g-recaptcha {
    margin-bottom: 1rem;
}

/* Multi-column spacing */
.form-col-6 {
    padding-right: 1rem;
}

@media (max-width: 768px) {
    .form-col-6 {
        padding-right: 0;
    }
}

/* Submit button – minimal, solid, responsive */
#form_submit {
    background: #0750ef;
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.85rem 0;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: background 0.2s, transform 0.1s;
    width: 100%;
    max-width: 100%;
    margin: 2rem auto 0;
    display: block;
    cursor: pointer;
}

#form_submit:hover {
    background: #0a3b9e;
}

#form_submit:active {
    transform: scale(0.98);
}

/* Responsive container adjustments */
@media (max-width: 768px) {
    .col-md-6.col-md-offset-3 {
        margin: 1rem !important;
        padding: 1.5rem !important;
        border-radius: 1rem;
    }

    .form-control,
    .bootstrap-select .btn {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
}

/* Optional: smooth scrolling & base font for better UX */
body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}