    :root {
            --primary: #2c3e50;
            --accent: #3498db;
            --text: #444;
            --bg-page: #1a1a1a;
            --card-bg: #ffffff;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--bg-page);
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            color: var(--text);
        }

        .main-container {
            width: 100%;
            max-width: 600px;
            padding: 20px;
        }

        .info-card {
            background: var(--card-bg);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0,0,0,0.3);
        }

        /* Cabecera */
    .card-header-img {
    position: relative;
    height: 250px;
    background-image: url('back.png'); 
  
    background-position: center; 
    border-radius: 20px 20px 0 0; 
}

#step1, #step2 {
    transition: opacity 0.3s ease;
}
.step-container {
    transition: opacity 0.3s ease-in-out;
}

.buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.hidden {
    display: none;
}

label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9em;
    color: #333;
}
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* Crea un degradado oscuro para que el texto blanco se lea bien */
    background: linear-gradient(transparent, rgba(0,0,0,0.7)); 
    padding: 20px;
}

.image-overlay h1 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

        .card-header-img h1 { margin: 0; font-size: 1.5rem; }

        /* Tabs */
        .tabs-header {
            display: flex;
            background: #f8f9fa;
            border-bottom: 1px solid #eee;
        }

        .tab-btn {
            flex: 1;
            padding: 15px;
            border: none;
            background: none;
            cursor: pointer;
            font-weight: 600;
            color: #888;
            transition: 0.3s;
            border-bottom: 3px solid transparent;
        }

        .tab-btn.active {
            color: var(--accent);
            border-bottom-color: var(--accent);
            background: white;
        }

        /* Contenido */
        .tab-content {
            display: none;
            padding: 25px;
            animation: fadeIn 0.4s ease;
        }

        .tab-content.active { display: block; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Formulario Estilizado */
        .step { transition: 0.3s; }
        .hidden { display: none; opacity: 0; }

        input, select {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-sizing: border-box;
            font-family: inherit;
        }

        button.btn-next, button.btn-submit {
            width: 100%;
            padding: 12px;
            background: var(--accent);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s;
        }

        button:hover { filter: brightness(1.1); }

        .badge {
            background: #e1f5fe;
            color: var(--accent);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: bold;
            display: inline-block;
            margin-bottom: 15px;
        }