/* Graduate Tracer - Main Desktop Stylesheet
============================================
    This file contains all base and desktop-optimized styles.
    Mobile-specific responsive styles are in: graduatetracer-mobile.css

    Import order in HTML:
    1. graduatetracer.css (this file - base + desktop)
    2. graduatetracer-mobile.css (responsive styles for mobile)
============================================ */

/* Base Typography & Layout */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf2 100%);
    color: #333;
    min-height: 100vh;
    letter-spacing: 0.2px;
    word-spacing: 0.1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container main {
    margin-top: 8rem;
    padding-top: 3rem;
}

.section {
    padding: 2rem 0;
    margin-top: 4rem;
}

main {
    margin-top: 7rem !important;
    padding-top: 3rem !important;
}

/* Better spacing from header */
.section.register {
    margin-top: 3rem;
    padding: 3rem 1rem;
}

h1, h2 {
    color: #0056b3;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

h1 {
    font-size: 1.8rem;
}

h2 {
    font-size: 1.5rem;
}

p {
    font-size: 1.05rem;
    color: #444;
}

.section-title {
    font-weight: bold;
}

/* Notices */
#notice,
#notice-2 {
    font-weight: bold;
    padding: 20px 0;
    text-align: center;
}

.notice-text {
    text-align: left;
    line-height: 1.9;
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 1.2rem;
}

/* Info box styling for consistency */
.d-flex.p-3.border-start.border-4.border-warning.rounded {
    background: linear-gradient(135deg, #fffbf0 0%, #fff8f0 100%);
    margin-bottom: 1.5rem;
    border-radius: 8px;
    padding: 1.5rem !important;
    border-left: 5px solid #ff9800 !important;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.1);
    transition: all 0.3s ease;
}

.d-flex.p-3.border-start.border-4.border-warning.rounded:hover {
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.15);
}

.d-flex.p-3.border-start.border-4.border-warning.rounded strong {
    color: #e68900;
    font-weight: 700;
}

/* Better styling for list items in info boxes */
.bg-light ul li {
    margin-bottom: 0.6rem;
    line-height: 1.8;
}

/* Consent section improvements */
#consent-section input[type="checkbox"] {
    width: 1.4em;
    height: 1.4em;
    margin-right: 0.75rem;
    cursor: pointer;
}

#consent-section label {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Form Controls */
.form-control, .form-select {
    font-size: 16px !important;
    padding: 0.75rem 1rem !important;
    min-height: 44px;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

/* Label styling */
label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
    color: #333;
}

/* Cards */
.card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Text Wrapping */
.text-wrap {
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Better spacing for input groups */
.row.form-group input,
.row.form-group select {
    margin-bottom: 0.5rem;
}

/* Button Styles */
.btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

/* Add Program Button */
.btn-add-program {
    background-color: #009748;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 151, 72, 0.3);
}

.btn-add-program:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 151, 72, 0.4) !important;
}

.btn-add-program:active:not(:disabled) {
    transform: translateY(0);
}

/* Success Button */
.btn-success {
    background-color: #28a745;
    color: white;
}

/* Warning Button */
.btn-warning {
    background-color: #ffc107;
    color: #333;
    font-weight: 600;
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem !important;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.8rem;
    display: block;
    font-size: 1.05rem;
    color: #333;
}

.form-control, .form-select {
    padding: 0.75rem 1rem !important;
    border-radius: 6px;
    border: 2px solid #e0e0e0;
    font-size: 1.05rem;
    line-height: 1.8;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.15);
    outline: none;
}

/* Checkbox and radio improvements */
.form-check {
    margin-bottom: 1rem;
    padding-left: 0;
}

.form-check-input {
    width: 1.4em;
    height: 1.4em;
    margin-top: 0.3em;
    margin-right: 0.75rem;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-check-input:hover {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.15rem rgba(0, 86, 179, 0.1);
}

.form-check-input:checked {
    background-color: #0056b3;
    border-color: #0056b3;
}

.form-check-input:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.form-check-label {
    cursor: pointer;
    font-size: 1.05rem;
    margin-bottom: 0;
    padding-top: 0.25rem;
}

/* Error and validation state styling */
input.is-invalid, 
select.is-invalid, 
textarea.is-invalid {
    border-color: #e65100 !important;
}

input.is-invalid:focus, 
select.is-invalid:focus, 
textarea.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(230, 81, 0, 0.25);
}

input.is-valid, 
select.is-valid, 
textarea.is-valid {
    border-color: #28a745 !important;
}

input.is-valid:focus, 
select.is-valid:focus, 
textarea.is-valid:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Disabled field styling */
input:disabled, 
select:disabled, 
textarea:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Placeholder styling */
::placeholder {
    color: #999;
    opacity: 0.8;
}

/* Step Navigation */
.step {
    display: none;
}
.step.active {
    display: block;
    background: #2c5282;
}

.active-li {
    background: #2c5282;
}

/* Progress Bar */
.progress-bar__wrapper {
    position: relative;
}

.progress-bar__value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
}

progress {
    width: 100%;
    height: 20px;
    border-radius: 50px;
    background-color: #ddd;
    transition: width 300ms ease;
}

progress[value]::-webkit-progress-bar {
    background-color: #ddd;
    border-radius: 50px;
}

progress[value]::-webkit-progress-value {
    background-color: maroon;
    border-radius: 50px;
    transition: width 300ms ease;
}

/* Nested Counter List */
ol.nested-counter-list {
    counter-reset: item;
}

ol.nested-counter-list li {
    display: block;
}

ol.nested-counter-list li::before {
    content: counters(item, ".") ". ";
    counter-increment: item;
    font-weight: bold;
}

ol.nested-counter-list ol {
    counter-reset: item;
}

ol.nested-counter-list ol > li::before {
    content: counters(item, ".") " ";
    counter-increment: item;
    font-weight: bold;
}

/* Floating Help Button - Enhanced Visibility */
.floating-help {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #0056b3 0%, #0088ff 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.floating-help:hover {
    background: linear-gradient(135deg, #004494 0%, #0056b3 100%);
    box-shadow: 0 8px 28px rgba(0, 86, 179, 0.5);
    transform: translateY(-4px);
}

.floating-help:active {
    transform: translateY(-2px);
}

.floating-help i {
    font-size: 1.2rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Enhanced Modal Content */
.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    margin: auto;
    max-width: 85vw;
    max-height: 85vh;
    width: 85%;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    border-top: 6px solid #0056b3;
    animation: slideUp 0.3s ease;
    min-width: 600px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #0056b3 0%, #0088ff 100%);
    color: white;
    flex-wrap: wrap;
    z-index: 2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: auto;
}

.modal-header h5 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    opacity: 0.9;
    padding: 6px 12px;
    border-radius: 6px;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    opacity: 1;
    transform: scale(1.05);
}

.close-btn:active {
    transform: scale(0.98);
}

.close-label {
    display: inline;
    font-weight: 500;
}

/* Modal Body - Optimized */
.modal-body {
    padding: 2rem;
    flex: 1 1 auto;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #fafbfc;
}

/* Manual Iframe - Responsive */
.manual-iframe {
    width: 100%;
    flex: 1 1 auto;
    min-height: 500px;
    height: 550px;
    border: none;
    border-radius: 8px;
    display: block;
    background-color: white;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* When modal is open, lock body scroll on mobile to avoid double-scrolling */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.close {
    float: right;
    font-size: 28px;
    cursor: pointer;
}

/* iOS-specific and touch optimizations */
html, body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Smooth native scrolling for overflowed containers on iOS */
#scroll-container,
.modal-body,
.manual-iframe {
    -webkit-overflow-scrolling: touch;
}

/* Improve touch responsiveness for interactive elements */
button, .btn, a, input, select, textarea {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    touch-action: manipulation;
}

/* Better label focus state for accessibility */
label:has(input:focus) {
    color: #0056b3;
}

/* Improved text selection for readability */
::selection {
    background-color: #0056b3;
    color: white;
}

::-moz-selection {
    background-color: #0056b3;
    color: white;
}

/* Submit Button Container and Helper Text */
.submit-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f1ff 100%);
    border-radius: 12px;
    border-top: 4px solid #0056b3;
    box-shadow: 0 4px 16px rgba(0, 86, 179, 0.1);
}

.submit-helper-text {
    text-align: center;
    font-size: 1rem;
    color: #555;
    max-width: 500px;
    line-height: 1.7;
}

.submit-helper-text strong {
    color: #0056b3;
    font-weight: 600;
}

.submit-button-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

#addDataSubmit {
    min-width: 250px !important;
    padding: 1rem 2rem !important;
}

/* Accessibility and eye comfort improvements */
.btn {
    min-height: 48px;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn:focus {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border-top: 5px solid #0056b3;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-top-color: #004494;
}

.card-body {
    padding: 2.5rem;
}

/* High contrast for better readability */
.card-title {
    color: #0056b3;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    position: relative;
    padding-bottom: 1rem;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0056b3, #0088ff);
    border-radius: 2px;
}

/* Better spacing for form sections */
hr {
    margin: 3rem 0;
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0056b3, transparent);
    opacity: 0.3;
}

/* Scroll container styling */
#scroll-container {
    background-color: #fafbfc;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e8e8e8 !important;
}

/* Better spacing for section dividers */
#integrated_school,
#undergraduate_degree,
#cte-questioner,
#graduate_degree,
#professional_degree,
#employment_data {
    margin-bottom: 2rem;
}

/* Visual enhancement for required field indicators */
span[style*="color:red"] {
    margin-left: 0.25rem;
    font-weight: 700;
}

/* Improved visual separation */
.row.justify-content-center.card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-top: 5px solid #0056b3;
    padding: 2rem !important;
    margin: 1.5rem auto;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.row.justify-content-center.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Extra padding from first card to header */
#consent_section + #additional_questions {
    margin-top: 2.5rem;
}

/* Enhanced list styling in info boxes */
.bg-light ul {
    background: linear-gradient(135deg, #fafbfc 0%, #f5f7fa 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #0056b3;
}

.bg-light ul li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
    color: #444;
    font-weight: 500;
}

.bg-light ul li:last-child {
    margin-bottom: 0;
}

/* Enhanced consent checkbox styling */
#consent-section {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

#consent-section input[type="checkbox"] {
    width: 1.5em;
    height: 1.5em;
    margin-top: 0.2em;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#consent-section input[type="checkbox"]:hover {
    border-color: #0056b3;
}

#consent-section input[type="checkbox"]:checked {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Improved section header styling */
.card-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-title::before {
    content: '';
    width: 4px;
    height: 1.4rem;
    background: linear-gradient(180deg, #0056b3, #0088ff);
    border-radius: 2px;
}

/* Better spacing and visual hierarchy */
.container main {
    padding: 2rem 0;
}

/* Floating button enhanced */
.floating-help {
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.floating-help:active {
    transform: scale(0.98);
}

/* Form input and select enhanced border styling */
.form-control, .form-select {
    border-color: #d0dce8;
}

.form-control:hover, .form-select:hover {
    border-color: #0088ff;
}

/* Refined button styling with gradients */
.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.btn-success:hover {
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #0056b3 0%, #0088ff 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004494 0%, #0056b3 100%);
    box-shadow: 0 4px 16px rgba(0, 86, 179, 0.3);
}

/* Modal enhancements */
.modal.fade .modal-dialog {
    transition: all 0.3s ease;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

/* Link styling enhancement */
a {
    color: #0056b3;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0088ff;
    text-decoration: underline;
}

a:visited {
    color: #003d82;
}

/* Icon styling enhancement */
i.bi, i.fas {
    transition: all 0.3s ease;
}

/* Scrollbar styling for modern browsers */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f7fa;
}

::-webkit-scrollbar-thumb {
    background: #0056b3;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #004494;
}

/* Firefox scrollbar */
* {
    scrollbar-color: #0056b3 #f5f7fa;
    scrollbar-width: thin;
}

/* Company Autocomplete Dropdown Styling */
.company-autocomplete-wrapper {
    position: relative;
}

.company-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.company-suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #333;
}

.company-suggestion-item:last-child {
    border-bottom: none;
}

.company-suggestion-item:hover,
.company-suggestion-item.active {
    background: linear-gradient(to right, #0056b3, #004494);
    color: #ffffff;
}

.company-suggestions-dropdown::-webkit-scrollbar {
    width: 8px;
}

.company-suggestions-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 0 0.375rem 0;
}

.company-suggestions-dropdown::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.company-suggestions-dropdown::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.company-autocomplete-wrapper input:focus {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Add Program Button Styling with Pulse Animation */
.btn-add-program {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-add-program:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 151, 72, 0.4) !important;
}

.btn-add-program:active {
    transform: translateY(0);
}

.btn-add-program.pulse-animation {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 4px 8px rgba(0, 151, 72, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 151, 72, 0.6), 0 0 0 10px rgba(0, 151, 72, 0.1);
    }
    100% {
        box-shadow: 0 4px 8px rgba(0, 151, 72, 0.3);
    }
}

/* Program counter badge animation */
#undergrad_program_count, #grad_program_count, #professional_program_count {
    transition: all 0.3s ease;
}

#undergrad_program_count.updated, 
#grad_program_count.updated,
#professional_program_count.updated {
    animation: badge-pop 0.5s ease;
}

@keyframes badge-pop {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

/* Company Autocomplete Dropdown Styling */
.autocomplete-dropdown,
.company-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-top: -1px;
    list-style: none;
    padding: 0;
}

.autocomplete-item,
.company-suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s ease;
    font-size: 1rem;
    display: block;
}

.autocomplete-item:hover,
.autocomplete-item.selected,
.autocomplete-item.active,
.company-suggestion-item:hover,
.company-suggestion-item.selected,
.company-suggestion-item.active {
    background-color: #e8f5e9;
    color: #009748;
    font-weight: 500;
}

.autocomplete-item.highlighted,
.company-suggestion-item.highlighted {
    background-color: #e8f5e9;
    color: #009748;
}

.autocomplete-no-results,
.company-suggestion-no-results {
    padding: 1rem;
    color: #999;
    text-align: center;
    font-style: italic;
}

/* Select Element Wrapper */
.select-wrapper {
    position: relative;
}

select,
.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

select:focus,
.form-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230056b3' stroke='%230056b3' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
}

/* Input Field Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
textarea,
.form-control {
    font-size: 16px;
    line-height: 1.5;
}

/* Input Focus Styling */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus,
.form-control:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25), inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

/* Program List Items */
.program-item,
.program-list-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f9f9f9;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #009748;
}

/* Container Grid */
.container,
.container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Alert Boxes */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Badge Styling */
.badge {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge.bg-primary {
    background-color: #0056b3 !important;
}

/* Dropdown Menu */
.dropdown-menu {
    min-width: 200px;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }

    .btn,
    button,
    [role="button"] {
        display: none;
    }

    .alert {
        page-break-inside: avoid;
    }
}
