
    /* Reset de estilos del login anterior */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Poppins', sans-serif;
        overflow: hidden;
        background: #f0f0f0;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wave {
        position: fixed;
        bottom: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: -1;
        object-fit: cover;
    }

    .container {
        width: 100vw;
        height: 100vh;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 7rem;
        padding: 0 2rem;
    }

    .img {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .img img {
        width: 400px;
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    }

    .login-content {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .login-content form {
        width: 400px;
        background: white;
        padding: 35px;
        border-radius: 20px;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    }

    .title {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 25px;
        color: #333;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .input-div {
        position: relative;
        display: grid;
        grid-template-columns: 7% 93%;
        margin: 18px 0;
        padding: 5px 0;
        border-bottom: 2px solid #d9d9d9;
        transition: 0.3s;
    }

    .input-div:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 0;
        height: 2px;
        background-color: #6366f1;
        transition: 0.3s;
    }

    .input-div.focus:after {
        width: 100%;
    }

    .i {
        color: #6366f1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .i i {
        font-size: 1.3rem;
    }

    .input-div>div {
        position: relative;
        height: 45px;
    }

    .input-div>div>h5 {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        font-size: 18px;
        transition: 0.3s;
        pointer-events: none;
    }

    .input-div.focus>div>h5 {
        top: -5px;
        font-size: 13px;
        color: #6366f1;
        font-weight: 600;
    }

    .input-div>div>input {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        border: none;
        outline: none;
        background: none;
        padding: 0.5rem 0.7rem;
        font-size: 1rem;
        color: #333;
        font-family: 'Poppins', sans-serif;
    }

    .input-div.pass {
        margin-bottom: 4px;
    }

    .view {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #999;
        transition: 0.3s;
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .view:hover {
        color: #6366f1;
    }

    .alert {
        border-radius: 10px;
        padding: 10px 12px;
        margin-bottom: 15px;
        font-size: 13px;
        border: none;
        text-align: left;
    }

    .alert-danger {
        background: #ffe6e6;
        color: #d32f2f;
        border-left: 4px solid #d32f2f;
    }

    .text-center {
        margin: 10px 0;
    }

    .isai5 {
        color: #6366f1;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
        transition: 0.3s;
    }

    .isai5:hover {
        color: #8b5cf6;
        text-decoration: underline;
    }

    .buttons-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 1rem;
    }

    .btn-iniciarsesion {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        height: 75px;
        border-radius: 10px;
        outline: none;
        border: none;
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        background-size: 200%;
        font-size: 0.75rem;
        color: #fff;
        font-weight: 700;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.3s;
        letter-spacing: 0.5px;
        position: relative;
        overflow: hidden;
    }

    .btn-iniciarsesion::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        transition: left 0.5s;
    }

    .btn-iniciarsesion:hover::before {
        left: 100%;
    }

    .btn-iniciarsesion:hover {
        background-position: right;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    }

    .btn-iniciarsesion:active {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    }

    .btn-iniciarsesion i {
        font-size: 1.5rem;
    }

    .btn-volver {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        height: 75px;
        border-radius: 10px;
        outline: none;
        border: 2px solid #6366f1;
        background: transparent;
        color: #6366f1;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.3s;
        text-decoration: none;
        position: relative;
        overflow: hidden;
        letter-spacing: 0.5px;
    }

    .btn-volver::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: #6366f1;
        transition: width 0.4s ease;
        z-index: 0;
    }

    .btn-volver:hover::before {
        width: 100%;
    }

    .btn-volver:hover {
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
        border-color: #6366f1;
    }

    .btn-volver:active {
        transform: translateY(-1px);
    }

    .btn-volver i {
        font-size: 1.5rem;
        transition: transform 0.3s;
        position: relative;
        z-index: 1;
    }

    .btn-volver span {
        position: relative;
        z-index: 1;
    }

    .btn-volver:hover i {
        transform: scale(1.1);
    }

    @media screen and (max-width: 1050px) {
        .container {
            grid-gap: 5rem;
        }
    }

    @media screen and (max-width: 1000px) {
        form {
            width: 350px;
        }

        .img img {
            width: 350px;
        }
    }

    @media screen and (max-width: 900px) {
        .container {
            grid-template-columns: 1fr;
            padding: 2rem;
        }

        .img {
            display: none;
        }

        .login-content {
            justify-content: center;
        }
    }