body,
html {
    height: 100%;
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(
        315deg,
        rgb(3, 16, 134) 3%,
        rgba(60, 132, 206, 1) 38%,
        rgb(48, 64, 238) 68%,
        rgb(71, 132, 160) 98%
    );
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
    overflow: hidden;
}


@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.wave {
    background: rgb(255 255 255 / 25%);
    border-radius: 1000% 1000% 0 0;
    position: fixed;
    width: 200%;
    height: 12em;
    animation: wave 10s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.wave:nth-of-type(2) {
    bottom: -1.25em;
    animation: wave 18s linear reverse infinite;
    opacity: 0.8;
}

.wave:nth-of-type(3) {
    bottom: -2.5em;
    animation: wave 20s -1s reverse infinite;
    opacity: 0.9;
}

.container-split {
    display: flex;
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    flex-wrap: wrap;
}

.left-panel {
    flex: 1;
    padding: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.left-panel p {
    color: #fff;
    font-style: italic;
}

.fondo-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.fondo-item.active {
    opacity: 0.2; /* ajusta la transparencia que desees */
}

.right-panel {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-container {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
}

.logo-marca-agua {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 350px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.logo-card {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.titulo-principal {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.form-control,
.input-group-text,
form,
.btn-login,
.form-check-label,
a {
    position: relative;
    z-index: 1;
}

.form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid #80d0ff;
    border-radius: 0;
    color: #fff;
}

.form-control::placeholder {
    color: #cce6ff;
}

.form-control:focus {
    background: transparent;
    box-shadow: none;
    border-color: #00c3ff;
    color: #fff;
}

.input-group-text {
    background: transparent;
    border: none;
    color: #cce6ff;
}

.btn-login {
    background: linear-gradient(90deg, #0077ff, #00c3ff);
    border: none;
    color: #fff;
    font-weight: bold;
}

.btn-login:hover {
    background: linear-gradient(90deg, #0056b3, #0099cc);
}

a {
    color: #80d0ff;
    font-size: 0.9rem;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container-split {
        flex-direction: column;
    }
    .left-panel {
        display: none;
    }
}

.text-shadow-black {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
