* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #cecece;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 800px !important;
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.header {
    background: rgb(190, 19, 19);
    color: white;
    padding: 25px 30px;
    text-align: center;
}

.header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.header p {
    opacity: 0.9;
}

.swiper {
    width: 100%;
    max-height: 90vh; /* 👈 asegura altura mínima */
    padding: 20px 30px;
    transition: height 0.3s ease; /* 👈 transición suave */
}



.swiper-slide {
    text-align: left;
    font-size: 18px;    
    padding: 10px 5px;
    height: 100%;
    overflow-y: auto;
}





.navigation {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.navigation .nav {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;    
}

.btn-prev {
    background: #6c757d !important;
    color: white !important;
}

.btn-prev:hover {
    background: #5a6268 !important;
}

.btn-next {
    background: rgb(190, 19, 19) !important;
    color: white !important;
}

.btn-next:hover {
    background: rgb(190, 19, 19) !important;
}

.btn-submit {
    background: #28a745 !important;
    color: white !important;
}

.btn-submit:hover {
    background: #218838 !important;
}

.progress-container {
    padding: 15px 30px 0;
    background: white;
}

.progress-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, rgb(190, 19, 19), rgba(134, 16, 16, 0.7));
    border-radius: 5px;
    width: 33.33%;
    transition: width 0.5s ease;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6c757d;
}

.step.active {
    background: rgb(190, 19, 19);
    color: white;
}

@media (max-width: 600px) {
    .swiper {
        height: 480px;
        padding: 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .header h1 {
        font-size: 24px;
    }
}


#formulario-4 table td input {
    width: 100px !important;
}

/* Selecciona el primer td de cada fila dentro del formulario */
#formulario-4 table tr td:first-child input {
  width: 170px !important; /* o el tamaño que quieras */
}
