/* public/assets/css/collector_form_style.css */
body {
    background-color: #f8f9fa; /* Light background */
}

.container {
    max-width: 800px; /* Limit width */
}

.card {
    border: none; /* Remove default card border */
     margin-bottom: 1.5rem !important;
}

.card-title {
    color: var(--bs-primary); /* Use Bootstrap primary color */
    font-weight: 500;
}

.form-label.required::after {
    content: " *";
    color: var(--bs-danger);
    font-weight: bold;
}

/* Autocomplete Styles */
.autocomplete-items {
    max-height: 200px;
    overflow-y: auto;
    z-index: 1050; /* Ensure it's above other elements */
    border-top: none;
    border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius); /* Match input rounding */
}

.autocomplete-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.autocomplete-item:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* Ensure form groups have bottom margin */
.form-group {
    margin-bottom: 1rem;
}

/* Style readonly inputs */
input:read-only:disabled, input:disabled {
    background-color: #e9ecef;
    opacity: 0.8;
    cursor: not-allowed;
}