* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e8ba3 100%);
    padding: 10px;
}

.container {
    max-width: 700px; /* más angosto */
    margin: 20px auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 20px 25px; /* menos padding interno */
}

/* Achicar márgenes de títulos y textos */
.container h1, 
.container h2, 
.container h3, 
.container p {
    margin-bottom: 10px;
}

/* Inputs más compactos */
.container select,
.container input {
    padding: 8px 10px;
    font-size: 14px;
}



.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px;
    text-align: center;
}

.header h1 {
    font-size: 1.3em;
    margin-bottom: 3px;
}

.header p {
    font-size: 0.85em;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    padding: 15px 10px;
    background: #f8f9fa;
    border-bottom: 2px solid #e2e8f0;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #cbd5e0;
    z-index: 0;
}

.progress-step:last-child::after {
    display: none;
}

.progress-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #cbd5e0;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    font-weight: bold;
    font-size: 0.85em;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.progress-step.active .progress-circle {
    background: #3498db;
    color: white;
}

.progress-step.completed .progress-circle {
    background: #27ae60;
    color: white;
}

.progress-label {
    font-size: 0.75em;
    color: #718096;
    font-weight: 600;
}

.form-content {
    padding: 20px 25px;
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.4s;
}

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

.step-title {
    font-size: 1.2em;
    color: #2c3e50;
    margin-bottom: 3px;
}

.step-description {
    color: #718096;
    margin-bottom: 15px;
    font-size: 0.85em;
}

.form-group {
    margin-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 4px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.85em;
}

.required {
    color: #e74c3c;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9em;
    transition: all 0.3s;
    font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.chasis-input {
    width: 60% !important;
    max-width: 400px;
}

textarea {
    resize: vertical;
    min-height: 60px;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
button {
    padding: 10px 15px;
    font-size: 15px;
}
.btn {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #cbd5e0;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.home-link {
    display: inline-block;
    margin: 8px 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
}

.home-link:hover {
    text-decoration: underline;
}

.input-with-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.input-icon {
    position: relative;
    display: block;
    margin: -50px auto -30px;
    width: 200px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    opacity: 0.9;
}

.input-with-padding {
    padding-right: 4px !important;
}

@media (max-width: 768px) {
    .progress-bar {
        padding: 20px 10px;
    }

    .progress-label {
        font-size: 0.7em;
    }

    .progress-circle {
        width: 30px;
        height: 30px;
        font-size: 0.9em;
    }

    .form-content {
        padding: 30px 20px;
    }

    .step-title {
        font-size: 1.5em;
    }

    .button-group {
        flex-direction: column;
    }
}