body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.header {
    background-color: #343a40;
    color: white;
    padding: 15px 0;
    margin-bottom: 30px;
    border-radius: 5px;
}
.register-card {
    border-radius: 20px;
    overflow: hidden;
    border: none;
}

.register-header {
    background: #667eea;
    padding: 2rem;
    color: white;
}

.register-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.register-header p {
    opacity: 0.9;
    margin-bottom: 0;
    font-size: 1rem;
}

.register-body {
    background: white;
    padding: 2.5rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    color: #495057;
}

.form-control, .custom-select {
    border-radius: 10px;
    border: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    height: auto;
    background: #f8f9fa;
    transition: all 0.2s;
}

.form-control:focus, .custom-select:focus {
    background: white;
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.form-control::placeholder {
    color: #adb5bd;
    font-size: 0.9rem;
}

.btn-register {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.8rem;
    font-weight: 600;
    border-radius: 10px;
}

.btn-register:hover {
    background: #5a6fd8;
    color: white;
}

.btn-login-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.btn-login-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.alert-custom {
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    border: none;
}

.login-prompt {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    font-size: 0.95rem;
}

/* Loading state para o select de congregações */
.select-loading {
    opacity: 0.6;
    pointer-events: 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="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-loader"><line x1="12" y1="2" x2="12" y2="6"/><line x1="12" y1="18" x2="12" y2="22"/><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"/><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"/><line x1="2" y1="12" x2="6" y2="12"/><line x1="18" y1="12" x2="22" y2="12"/><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"/><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    background: #fff;
}

.was-validated .form-control:valid {
    border-color: #28a745;
    background: #fff;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-section{
    border:1px solid #e9ecef;
    border-radius:12px;
    padding:20px;
    margin-bottom:25px;
    background:#fff;
}

.form-section h5{
    font-weight:700;
    margin-bottom:20px;
    color:#667eea;
}

/* Responsividade */
@media (max-width: 768px) {
                
    .register-header {
        padding: 1.5rem;
    }
    
    .register-header h2 {
        font-size: 1.75rem;
    }
    
    .register-body {
        padding: 1.5rem;
    }
}