
    /* Estilos generales */
    body {
        font-family: Arial, sans-serif;
        background: linear-gradient(to bottom, #ffbb00, #e29300);
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        margin: 0;
        padding: 20px;
        overflow: hidden;
    }

    /* Contenedor del formulario */
    .form-container {
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        width: 100%;
        max-width: 500px;
        text-align: center;
        animation: scale-up-center 1s;
        position: relative;
    }

    @keyframes scale-up-center {
        0% { transform: scale(.5) }
        100% { transform: scale(1) }
    }

    /* Estilos del título */
    h2 {
        color: #333;
        margin-bottom: 20px;
        font-size: 1.5rem;
    }

    /* Estilos de los labels */
    label {
        display: block;
        margin: 10px 0 5px;
        font-weight: bold;
        color: #555;
        text-align: left;
    }

    /* Estilos de los inputs */
    input, select {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
        box-sizing: border-box;
    }

    /* Estilos del botón */
    button {
        width: 100%;
        padding: 12px;
        margin-top: 20px;
        background: linear-gradient(90deg, #ffbb00, #d48a00);
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 18px;
        cursor: pointer;
        transition: background 0.3s;
    }

    button:hover {
        background: linear-gradient(90deg, #d48a00, #ffbb00);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    /* Campos condicionales */
    .licencia-fields {
        display: none;
    }

    /* Mensajes de error */
    .error-message {
        color: #d9534f;
        font-size: 14px;
        text-align: left;
        margin-top: -8px;
        margin-bottom: 10px;
    }
    
    .success-message {
        color: #5cb85c;
        font-size: 14px;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .register-link {
        margin-top: 15px;
        display: block;
        text-align: center;
    }
    
    .register-link p a {
        color: #d48a00;
        text-decoration: none;
        font-weight: bold;
    }
    
    .register-link p a:hover {
        text-decoration: underline; 
    }

    /* Elementos decorativos */
    .span1, .span2, .span3, .span4, .span5, .span6 {
        position: absolute;
        background-color: rgba(230, 130, 255, 0);
        border: 2px solid rgb(255, 255, 255);
        z-index: -1;
    }

    .span1 {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        top: 10%;
        left: 5%;
    }

    .span2 {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        top: 70%;
        right: 5%;
    }

    .span3 {
        width: 10px;
        height: 10px;
        top: 80%;
        right: 10%;
    }

    .span4 {
        width: 15px;
        height: 15px;
        bottom: 10%;
        left: 10%;
    }

    .span5 {
        width: 14px;
        height: 14px;
        top: 20%;
        right: 15%;
    }

    .span6 {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        top: 30%;
        left: 15%;
    }

    /* Media Queries para responsive */
    @media (max-width: 768px) {
        .form-container {
            padding: 15px;
        }
        
        h2 {
            font-size: 1.3rem;
        }
        
        button {
            font-size: 16px;
            padding: 10px;
        }
        
        /* Reducir tamaño de elementos decorativos en móviles */
        .span1, .span2, .span6 {
            width: 15px;
            height: 15px;
        }
        
        .span3, .span4, .span5 {
            width: 8px;
            height: 8px;
        }
    }

    @media (max-width: 480px) {
        body {
            padding: 10px;
        }
        
        .form-container {
            padding: 15px 10px;
        }
        
        h2 {
            font-size: 1.2rem;
            margin-bottom: 15px;
        }
        
        input, select {
            padding: 8px;
            font-size: 14px;
        }
        
        button {
            font-size: 15px;
            margin-top: 15px;
        }
        
        /* Ocultar algunos elementos decorativos en pantallas muy pequeñas */
        .span3, .span5 {
            display: none;
        }
    }