﻿
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Fira Sans', sans-serif;
    background: #616262;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-wrapper {
    background: #ffffff;
    width: 90%;
    max-width: 950px;
    display: flex;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: fadeInUp 0.8s ease forwards;
}

.login-left {
    background: #539b8d;
    flex: 1;
    color: white;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .login-left h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

.step-card {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

    .step-card span {
        font-weight: bold;
        display: block;
        font-size: 18px;
        margin-bottom: 5px;
    }

.login-right {
    flex: 1;
    padding: 40px;
}

    .login-right h2 {
        color: #232425;
        font-size: 26px;
        margin-bottom: 25px;
        text-align: center;
    }

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

    .form-row input {
        flex: 1;
    }

.login-right input,
.login-right select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.login-right button {
    background-color: #616262;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

    .login-right button:hover {
        background-color: #232425;
    }

.video-container {
    position: relative;
    padding-top: 56.25%; /* Aspect ratio 16:9 */
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none; /* para evitar clics accidentales */
        border-radius: 12px;
    }

.btn-back-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px; /* <--- cambia left por right */
    background-color: transparent;
    border: 2px solid #616262;
    color: #616262;
    opacity:0.5;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

    .btn-back-fixed:hover {
        background-color: #232425;
        color: white;
        border-color: #232425;
    }

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 36, 37, 0.85); /* fondo oscuro */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-logo {
    width: 120px;
    height: 120px;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: inherit;
}

body::-webkit-scrollbar-thumb {
    background-color: #999c9e;
    border-radius: 3px;
}

.valPass-grid {
    display: grid;
    grid-template-columns: repeat(1, 4fr); /* 2 columnas */
    gap: 10px 15px;
    margin-top: 10px;
}

.item-check {
    display: flex;
    align-items: center;
    font-size: 9px;
    color: #c7c5c5;
}

    .item-check i {
        margin-left: 9px;
        font-size: 9px;
    }

@media (max-width: 768px) {
    .login-left {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .login-right {
        width: 100%;
        flex: 1 1 100%;
        padding: 40px 20px;
    }

    .login-wrapper {
        animation: none;
        flex-direction: column;
        align-items: flex-start; /* Ajusta si quieres que se vea desde arriba */
    }

    .btn-back-fixed {
        position: relative;
        display: block;
        margin: 50px auto 0 60%;
        max-width: 150px;
        text-align: right;
        width: fit-content;
        max-width: 150px;
    }

        .btn-back-fixed a {
            background-color: transparent;
            border: 2px solid #616262;
            color: #616262;
            padding: 6px 16px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
        }

            .btn-back-fixed a:hover {
                background-color: #232425;
                color: white;
                border-color: #232425;
            }

}