:root {
    --input-bg: rgba(10, 10, 20, 0.7);
    --input-border: rgba(80, 80, 255, 0.3);
    --input-focus-border: rgba(0, 212, 255, 0.7);
    --accent: #00d4ff;
    --text-light: #f0f0f0;
    --text-dark: #a0a0a0;
}

/* Estilo melhorado para selects */
select {
    width: 100%;
    padding: 12px 15px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 5px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%2300d4ff" 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 15px center;
    background-size: 12px;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: var(--input-focus-border);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

select option {
    background-color: rgba(10, 10, 20, 0.95);
    color: var(--text-light);
    padding: 10px;
}

/* Estilo melhorado para checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
}

@media (max-width: 768px) {
    .checkbox-group {
        width: 100%;
    }
}

.checkbox-label {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
    background: rgba(10, 10, 20, 0.5);
    border: 1px solid var(--input-border);
    width: 100%;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.checkbox-label:hover {
    background-color: rgba(0, 212, 255, 0.1);
    border-color: var(--input-focus-border);
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: var(--text-light);
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.3);
}

.checkbox-label span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Estilo melhorado para radio buttons */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    width: 100%;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .radio-group {
        flex-direction: column;
        width: 100%;
    }
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
    background: rgba(10, 10, 20, 0.5);
    border: 1px solid var(--input-border);
    min-width: 120px;
    flex: 1;
    box-sizing: border-box;
}

.radio-label:hover {
    background-color: rgba(0, 212, 255, 0.1);
    border-color: var(--input-focus-border);
}

.radio-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked {
    border: 1px solid var(--accent);
}

.radio-label input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--accent);
}

.radio-label input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.3);
}

.radio-label span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Estilo para o campo de data */
input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 5px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

input[type="date"]:focus {
    outline: none;
    border-color: var(--input-focus-border);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.8) brightness(1.5) sepia(1) hue-rotate(175deg) saturate(3);
    cursor: pointer;
}

/* Estilo para textarea */
textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 5px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 100px;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: var(--input-focus-border);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}