/* Estilos para o formulário de cadastro */

/* Container principal */
.cadastro-modelo {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    padding: 1rem;
}

.card-header h3 {
    margin: 0;
    color: #333;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Campos do formulário */
.form-label {
    font-weight: 500;
    color: #444;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.15);
}

/* Checkboxes */
.form-check {
    margin-bottom: 0.5rem;
}

.form-check-input {
    margin-top: 0.3rem;
}

.form-check-label {
    color: #555;
}

/* Validação */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

/* Botão de submit */
.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Links */
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }

    .btn-primary {
        padding: 0.75rem 1.5rem;
    }
}

/* Mensagens de alerta */
.alert {
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.alert-info {
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
    color: #0d47a1;
}

/* Campos obrigatórios */
.required-field::after {
    content: " *";
    color: #dc3545;
} 