* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: url('../images/prueba456.jpg') no-repeat center center fixed;
    background-size: cover;
}

.container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 900px;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.left-panel {
    flex: 1;
    background: url('../images/bg_nuevo.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    min-height: 300px;
}

.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.logo-img {
    max-width: 300px;
    max-height: 150px;
    width: 100%;
    height: auto;
    /*filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.7));*/
}

.logo-text {
    color: white;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: bold;
    margin-top: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}



.social-media {
    display: flex;
    gap: 10px;
    justify-content: center;
    z-index: 2;
    margin-top: auto;
    /* Esto empuja los iconos hacia abajo */
    padding-bottom: 20px;
    /* Añade espacio en la parte inferior */
}

.social-icon {
    color: white;
    font-size: clamp(16px, 2vw, 20px);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    text-shadow: 0 0 15px rgba(0, 255, 255, 1);
}

.right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 0px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
}

.login-form {
    width: 100%;
    max-width: 350px;
    text-align: center;
}

.login-icon {
    font-size: clamp(30px, 4vw, 40px);
    color: #00f7ff;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(0, 247, 255, 0.7);
}

.login-title {
    font-size: 20px;
    font-weight: lighter;
    margin-bottom: 20px;
    color: #00f7ff;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    letter-spacing: 1px;
}

.form-custom-group {
    margin-bottom: 20px;
    position: relative;
    text-align: left;
}

.form-custom-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #b3f0ff;
    font-size: clamp(14px, 2vw, 16px);
}

.form-custom-group input.form-control-custom {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid rgba(0, 247, 255, 0.3);
    border-radius: 5px;
    font-size: clamp(14px, 2vw, 16px);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    transition: all 0.3s ease;
}
.form-custom-group input.input-password {
    padding: 12px 40px 12px 40px;
}

.form-custom-group input:focus {
    outline: none;
    border-color: #00f7ff;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
}

.form-custom-group i.icon_custom {
    position: absolute;
    left: 15px;
    top: 38px;
    color: #00f7ff;
    font-size: clamp(14px, 2vw, 16px);
}

.icon_eye {
    position: absolute;
    top: 38px;
    right: 15px;
    display: flex;
}

.icon_eye i {
    position: relative !important;
    color: #00f7ff;
    font-size: clamp(14px, 2vw, 16px);
}

.login-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #00d2ff, #00f7ff);
    color: #0f2027;
    border: none;
    border-radius: 5px;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 247, 255, 0.4);
    background: linear-gradient(90deg, #00f7ff, #00d2ff);
}

::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(12px, 2vw, 14px);
}

/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        max-width: 100%;
        min-height: auto;
    }

    .left-panel {
        min-height: 200px;
        padding: 15px;
    }

    .logo-img {
        max-width: 100px;
        max-height: 100px;
    }

    .right-panel {
        padding: 30px 20px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .login-form {
        max-width: 100%;
    }

    .form-custom-group i.icon_custom {
        top: 35px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-width: 80px;
        max-height: 80px;
    }

    .form-custom-group input {
        padding: 10px 15px 10px 35px;
    }

    .form-custom-group i.icon_custom {
        left: 12px;
        top: 32px;
    }
}


.circle-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 247, 255, 0.1);
    /* Fondo sutil con transparencia */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px auto;
    border: 1px solid rgba(0, 247, 255, 0.3);
    /* Borde sutil */
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.2);
    /* Sombra suave */
}

.circle-icon i {
    color: #00f7ff;
    font-size: 28px;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    margin: 0;
    /* Elimina márgenes por defecto */
}



@media (max-width: 768px) {
    .container {
        flex-direction: column;
        max-width: 100%;
        min-height: auto;
    }

    .left-panel {
        min-height: 50px;
        /* Reducido de 200px a 150px */
        padding: 15px;
        justify-content: center;
        /* Centra el contenido verticalmente */
    }

    .logo-container {
        position: static;
        /* Elimina el posicionamiento absoluto */
        transform: none;
        margin-top: 10px;
    }

    .logo-img {
        max-width: 180px;
        /* Aumentado de 100px a 180px */
        max-height: 100px;
        margin: 0 auto;
        /* Centra horizontalmente */
    }

    .social-media {
        margin-top: 15px;
        padding-bottom: 10px;
    }

    .right-panel {
        padding: 30px 20px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-width: 160px;
        /* Aumentado de 80px a 160px */
        max-height: 90px;
    }

    .left-panel {
        min-height: 130px;
        /* Más compacto en móviles muy pequeños */
    }
}

@media (max-width: 768px) {
    .social-media {
        display: none !important;
        /* Oculta completamente las redes sociales */
    }

    /* Ajustes adicionales para compensar el espacio */
    .left-panel {
        min-height: 120px !important;
        /* Más compacto sin redes */
        padding-bottom: 5px !important;
    }

    .logo-container {
        margin-top: 0 !important;
    }
}

/* Opcional: Si quieres que desaparezcan solo en móviles muy pequeños */
@media (max-width: 480px) {
    .social-media {
        display: none !important;
    }
}



div.error_login {
    font-family: SFProText-Regular, Helvetica, Arial, sans-serif;
    margin-top: 5px;
    display: block;
    width: 100%;
    color: rgb(249, 98, 98) !important;
    font-size: 13px;
}



.alert {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.alert-danger {
    background: rgb(188, 95, 95);
}