.driver-registration-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-wrapper {
    background-color: rgba(0, 43, 73, 0.6); /* 0.6 é a opacidade, ajuste conforme necessário */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.toggle-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 30px;
}

.toggle-btn {
    padding: 12px 25px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: #FF7F41;
}

.toggle-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.or-divider {
    color: white;
    margin: 0 15px;
    font-size: 14px;
    text-transform: uppercase;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #FF7F41;
    font-size: 14px;
}

.required {
    color: #FF7F41;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #FF7F41;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #ff6a1f;
}

.form-disclaimer {
    text-align: center;
    font-size: 12px;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

/* Responsividade */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .toggle-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .or-divider {
        margin: 5px 0;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-wrapper {
    animation: fadeIn 0.5s ease-out;
}

/* Melhorias de acessibilidade */
input:focus, select:focus, .submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px #FF7F41;
}

.toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 127, 65, 0.5);
}