/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.form-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

/* Header */
.form-header {
    background: #1C2B36;
    color: white;
    padding: 30px 30px 20px;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo i {
    font-size: 28px;
    margin-right: 10px;
}

.logo span {
    font-size: 20px;
    font-weight: 600;
}

.form-header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-header p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Simple Progress */
.simple-progress {
    padding: 10px 30px;
    background: #B4C9DE;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-dots {
    display: none;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.dot.active {
    background: #61E781;
    transform: scale(1.2);
}

/* Form Container */
.form-container {
    padding: 30px;
    position: relative;
    min-height: 350px;
}

.form-step {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1C2B36;
    margin-bottom: 20px;
    text-align: center;
}

/* Form Elements */
.form-group {
    margin-bottom: 0px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 16px;
}

.form-group label span {
    font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #B4C9DE;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1C2B36;
    background: white;
    box-shadow: 0 0 0 3px rgba(28, 43, 54, 0.1);
}

.form-group input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.error-message {
    color: #ef4444;
    font-size: 13px;
    margin-top: 5px;
    display: block;
    min-height: 18px;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    padding: 0px 0;
    cursor: pointer;
    font-size: 16px;
    color: #1C2B36;
    line-height: 1.0;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    margin-top: 2px;
    accent-color: #1C2B36;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-item .checkmark {
    display: none;
}

.hidden {
    display: none !important;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    gap: 8px;
    min-width: 140px;
}

.btn-primary {
    background: #61E781;
    color: #1C2B36;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(97, 231, 129, 0.3);
    background: #50d46f;
}

.btn-secondary {
    background: white;
    color: #1C2B36;
    border: 2px solid #B4C9DE;
}

.btn-secondary:hover {
    background: #B4C9DE;
    border-color: #1C2B36;
}

.btn-full{
    width: 100%;
}

.form-actions {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-top: 15px;
}

/* Success Page */
.success-content {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    margin-bottom: 20px;
}

.success-icon i {
    font-size: 64px;
    color: #10b981;
}

.success-content h2 {
    color: #1f2937;
    margin-bottom: 12px;
}

.success-info {
    margin: 30px 0;
    padding: 24px;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #065f46;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    margin-right: 8px;
    width: 16px;
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1000;
}

.loading-overlay.active {
    display: flex;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e1e5e9;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    color: #6b7280;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .form-header {
        padding: 30px 20px 20px;
    }
    
    .form-header h1 {
        font-size: 24px;
    }
    
    .simple-progress {
        padding: 10px 20px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .step-content h2 {
        font-size: 20px;
    }
    
    .form-actions {
        flex-direction: column-reverse;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .simple-progress {
        padding: 10px;
    }
}

/* Input Validation Styles */
.form-group.has-error input {
    border-color: #ef4444;
    background: #fef2f2;
}

.form-group.has-error .error-message {
    color: #ef4444;
}

.form-group.has-success input {
    border-color: #10b981;
    background: #f0fdf4;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
} 
