* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    padding: 30px;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    width: 16.66%;
}

.step-indicator {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.step-indicator span {
    font-weight: bold;
    color: #667eea;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

input[type="text"],
input[type="tel"],
input[type="date"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-choice {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.choice-btn {
    flex: 1;
    padding: 15px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
}

.choice-btn:hover {
    background: #f5f7ff;
    border-color: #667eea;
}

.choice-btn:active {
    transform: scale(0.95);
}

.social-input {
    margin-bottom: 20px;
}

.social-input.hidden {
    display: none;
}

.btn-group {
    display: flex;
    gap: 15px;
}

.btn-back,
.btn-next,
.btn-submit {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back {
    background: #f0f0f0;
    color: #666;
    flex: 1;
}

.btn-back:hover {
    background: #e0e0e0;
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    flex: 2;
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-next:active,
.btn-submit:active {
    transform: translateY(0);
}

.success-message {
    text-align: center;
    padding: 40px 0;
}

.success-message.hidden {
    display: none;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-message h2 {
    color: #667eea;
    margin-bottom: 10px;
}

.success-message p {
    color: #666;
    font-size: 16px;
}

/* Responsividade adicional para telas muito pequenas */
@media (max-width: 360px) {
    .container {
        padding: 20px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    input[type="text"],
    input[type="tel"],
    input[type="date"] {
        padding: 12px;
        font-size: 14px;
    }
    
    .btn-back,
    .btn-next,
    .btn-submit {
        padding: 12px 20px;
        font-size: 14px;
    }
}
