/* Formularios Multi-step Colosal */

.cs-form-container {
    min-height: 100vh;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.cs-form-wrapper {
    width: 100%;
    max-width: 600px;
    background: #121212;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Barra de progreso */
.cs-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.cs-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #2a2a2a;
    z-index: 0;
}

.cs-progress-bar {
    position: absolute;
    top: 20px;
    left: 50px;
    height: 2px;
    background: #2EC4B6;
    z-index: 1;
    transition: width 0.3s ease;
}

.cs-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cs-progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2a2a2a;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.cs-progress-step.active .cs-progress-circle,
.cs-progress-step.completed .cs-progress-circle {
    background: #2EC4B6;
    border-color: #2EC4B6;
    color: #0a0a0a;
}

.cs-progress-label {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cs-progress-step.active .cs-progress-label {
    color: #2EC4B6;
}

/* Inputs */
.cs-field {
    margin-bottom: 20px;
}

.cs-field label {
    display: block;
    font-size: 13px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.cs-input {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-size: 15px;
    transition: all 0.2s;
}

.cs-input:focus {
    outline: none;
    border-color: #2EC4B6;
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.1);
}

.cs-input::placeholder {
    color: #555;
}

/* Errores */
.cs-field.error .cs-input {
    border-color: #e74c3c;
}

.cs-error {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 6px;
}

/* Radio/Checkbox cards */
.cs-radio-group,
.cs-checkbox-group {
    display: grid;
    gap: 12px;
}

.cs-radio-card,
.cs-checkbox-card {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.cs-radio-card:hover,
.cs-checkbox-card:hover {
    border-color: #444;
}

.cs-radio-card input,
.cs-checkbox-card input {
    margin-right: 12px;
    accent-color: #2EC4B6;
}

.cs-radio-card:has(input:checked),
.cs-checkbox-card:has(input:checked) {
    border: 2px solid #2EC4B6;
    background: rgba(46, 196, 182, 0.08);
}

/* Selects */
select.cs-input {
    cursor: pointer;
    appearance: none;
    background-image: url(data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg width=12 height=12 fill=%232EC4B6 viewBox=0 0 16 16%3E%3Cpath d=M8 11L3 6h10l-5 5z/%3E%3C/svg%3E);
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Botones */
.cs-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.cs-btn-primary {
    background: #2EC4B6;
    color: #0a0a0a;
}

.cs-btn-primary:hover {
    background: #25a396;
}

.cs-btn-secondary {
    background: transparent;
    border: 1px solid #555;
    color: #aaa;
    margin-top: 12px;
}

.cs-btn-secondary:hover {
    border-color: #888;
    color: #fff;
}

.cs-btn-group {
    margin-top: 32px;
}

/* Paso oculto */
.cs-step {
    display: none;
}

.cs-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Titulo */
.cs-form-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 8px;
    text-align: center;
}

.cs-form-subtitle {
    color: #888;
    text-align: center;
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 600px) {
    .cs-form-wrapper {
        padding: 24px;
    }
    
    .cs-progress-label {
        font-size: 10px;
    }
}
