/* Form styles */
.form-group {
    margin-bottom: 12px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-weight: bold;
}
body.light .form-group label { color: #011f19; font-weight: 800; }

.form-group input, 
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.05rem;
}
body.light .form-group input,
body.light .form-group select { background: rgba(255,255,255,0.95); border-color: rgba(1,31,25,0.35); color: #011f19; }

/* Make selects visually match inputs (remove native arrow, add custom) */
.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}
body.light .form-group select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23011f19' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
}

.form-group select:disabled { opacity: 0.6; cursor: not-allowed; }
.form-group select:focus { outline: none; box-shadow: 0 0 0 3px rgba(24,160,152,0.35); border-color: rgba(24,160,152,0.6); }

/* Make native option lists resemble suggestion cards */
.form-group select option { 
    background: #ffffff; 
    color: #000000; 
    padding: 10px; 
    font-size: 1rem; 
}
body:not(.light) .form-group select option { 
    background: #ffffff; 
    color: #000000; 
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
body.light .form-group input::placeholder { color: rgba(1,31,25,0.6); }

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 0;
}

.checkbox-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    
}

.checkbox-container label {
    margin: 0;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.light .checkbox-container label { color: #011f19; }

.suggestions { position: relative; color: #111; }
.suggestions li { background: rgba(255,255,255,0.95); border: 1px solid rgba(0,0,0,0.08); padding: 8px 10px; margin-top: 4px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); color: #111; }
body.light .suggestions li { background: #fff; border-color: #e5e7eb; color: #111; }
.suggestions li:hover { background: #f0fdf4; border-color: #86efac; }
.suggestions li + li { margin-top: 6px; }