/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5rem;
    color: #1565c0;
    margin-bottom: 5px;
}

header p {
    color: #546e7a;
    font-size: 1.1rem;
}

/* Step indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #b0bec5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.step-label {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #78909c;
    font-weight: 500;
}

.step-line {
    width: 80px;
    height: 3px;
    background-color: #b0bec5;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.step-item.active .step-number {
    background-color: #1565c0;
}

.step-item.active .step-label {
    color: #1565c0;
    font-weight: 600;
}

.step-line.active {
    background-color: #1565c0;
}

/* Steps */
.step {
    display: none;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.step.active {
    display: block;
}

.step-content h2 {
    font-size: 1.8rem;
    color: #263238;
    margin-bottom: 15px;
}

.step-content > p {
    color: #546e7a;
    margin-bottom: 25px;
}

/* Drop zone */
.drop-zone {
    border: 2px dashed #64b5f6;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    background-color: #e3f2fd;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.drop-zone.dragover {
    border-color: #1565c0;
    background-color: #bbdefb;
}

.drop-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    color: #64b5f6;
}

.drop-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
}

.file-select-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #1565c0;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 10px 0;
}

.file-select-button:hover {
    background-color: #0d47a1;
}

.file-select-button input {
    display: none;
}

.file-name {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #78909c;
}

/* Form */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #37474f;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 1px solid #b0bec5;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1565c0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

/* Success message */
.success-message {
    text-align: center;
    margin-bottom: 30px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    color: #4caf50;
}

.success-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
}

/* Summary */
.summary {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.summary h3 {
    margin-bottom: 15px;
    color: #37474f;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item .variable {
    font-weight: 600;
}

.summary-item .value {
    color: #1565c0;
}

/* Buttons */
.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background-color: #1565c0;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: #0d47a1;
}

.btn-secondary {
    background-color: #78909c;
    color: white;
}

.btn-secondary:hover {
    background-color: #546e7a;
}

.btn-success {
    background-color: #4caf50;
    color: white;
}

.btn-success:hover {
    background-color: #388e3c;
}

.btn svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    stroke: currentColor;
    stroke-width: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .step-indicator {
        flex-wrap: wrap;
    }
    
    .step-line {
        width: 40px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}
