﻿
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Fira Sans', sans-serif;
    background: #616262;
    min-height: 100vh;
    padding: 20px 10px;
    display: flex;
    justify-content: center;
    align-items: center; /* ← importante: evitar corte por centrado vertical */
    overflow-x: hidden;
}

.login-wrapper {
    background: #ffffff;
    width: 100%;
    max-width: 950px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    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 {
    position: relative;
    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);
    overflow: hidden;
    z-index: 1;
}

    .step-card span {
        font-weight: bold;
        display: block;
        font-size: 18px;
        margin-bottom: 5px;
    }
    .step-card span,
    .step-card p {
        position: relative;
        z-index: 2;
    }

.login-right {
    flex: 1;
    padding: 40px;
}

    .login-right h2 {
        color: #232425;
        font-size: 26px;
        margin-bottom: 25px;
    }

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 3px;
}

    .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;
    }

body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: inherit;
}

body::-webkit-scrollbar-thumb {
    background-color: #999c9e;
    border-radius: 3px;
}
.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;
    }

.step-card ul {
    padding-left: 25px; /* Ajusta este valor según cuán dentro quieres que estén */
    margin-top: 10px;
    margin-bottom: 10px;
}

    .step-card ul li {
        margin-bottom: 6px;
        list-style-position: inside; /* Si quieres que los puntos estén alineados con el texto */
    }

.form-row-flex {
    display: flex;
    gap: 10px;
    margin-bottom: 3px;
}

.input-block {
    flex: 1;
    margin-right:0px;
}
.input-block input{
    flex: 1;
    width:100%;
}

.social-card label {
    display: block;
    margin-bottom: 10px;
}

.social-links {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: 30px;
}

    .social-links li {
        display: flex;
        align-items: center;
    }

    .social-links a {
        text-decoration: none;
        color: #ffffff;
        background-color: transparent;
        padding: 6px 12px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: bold;
        font-size: 14px;
        transition: background-color 0.3s ease;
    }

        .social-links a:hover {
            opacity:0.5;
        }

    .social-links img {
        width: 18px;
        height: 18px;
        filter: brightness(0) invert(1); /* hace el icono blanco */
    }

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@media (max-width: 768px) {
    body {
        align-items: flex-start !important; /* ← cambia solo en móviles */
    }
    .login-wrapper {
        flex-direction: column;
        margin-top: 20px;
    }

    .login-left,
    .login-right {
        flex: none;
        width: 100%;
        padding: 30px 20px;
    }

    .login-left {
        order: 2;
    }

    .login-right {
        order: 1;
    }
    .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;
            }
    .form-row-flex {
        flex-direction: column;
    }
    #phone {
        width: 100% !important;
        box-sizing: border-box;
    }

    .iti {
        width: 100% !important;
    }

        .iti input {
            width: 100% !important;
        }

}


