html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.chip-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    border-radius: 20px;
    background-color: #f0f0f0;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease-in-out;
}

.chip span {
    padding: 8px 15px;
    border-radius: 20px;
}

.chip:hover {
    background-color: #ddd;
}

.chip input[type="checkbox"] {
    display: none; /* hide actual checkbox */
}

.chip input[type="checkbox"]:checked + span {
    background-color: #007bff;
    color: white;
}
.form-actions {
    margin-top: 20px; /* space before button */
    width: 100%; /* full row */
}

.submit-btn {
    width: 100%; /* full-width button */
    padding: 12px; /* taller button */
    font-size: 16px; /* bigger text */
    background-color: #007bff; /* bootstrap blue */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

    .submit-btn:hover {
        background-color: #0056b3; /* darker blue on hover */
    }
.chip-row {
    display: flex;
    margin-bottom: 15px;
}

.chip-select-all {
    background-color: #ffeeba;
    font-weight: bold;
}

    .chip-select-all span {
        padding: 8px 20px;
    }
.nowrap-label {
    white-space: nowrap; /* prevents line break */
}

.info-icon {
    font-size: 14px;
    color: #000;
    cursor: pointer;
}

.help-link {
    color: blue;
    text-decoration: underline;
    font-size: 0.9em;
}
/* First row: 4 columns */
.form-grid-first {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 25px;
    margin-bottom: 20px;
}

/* After first row: 3 columns */
.form-grid-after {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-weight: bold;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group select {
        padding: 6px;
        width: 100%;
    }

.tooltip-inner {
    max-width: none !important; /* remove Bootstrap default max-width */
    white-space: nowrap; /* prevent wrapping */
    padding: 8px 12px;
    font-size: 14px;
    background-color: #f9f9f9; /* light background */
    color: #333;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-color: #f9f9f9 !important; /* match tooltip background */
}
