/* CSS DE LA INTERFAZ REGISTRO */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

main {
    height: 100vh;
    background: url('/img/FondoImg.jpg');
    background-size: cover;
    background-position: center;
}

a {
    text-decoration: none;
    color: #fff;
}

.navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 25px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.navbar .logo {
    font-size: 30px;
    font-weight: 700;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    position: relative;
    list-style: none;
    margin-left: 35px;
}

.navbar ul li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s;
}

.navbar ul li:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar ul li a {
    font-size: 20px;
    font-weight: 500;
}

.content {
    display: flex;
    align-items: center;
    gap: 80px;
    height: 100vh;
    padding: 50px 100px 0;
    color: #fff;
}

.info h1 {
    font-size: 50px;
}

.info p {
    margin: 10px 0 25px;
}

.btn {
    display: inline-block;
    padding: 12px 50px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.btn:hover {
    background: linear-gradient(135deg, #071d3a, #00634d);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 120, 100, .4);
}

.login-box {
    width: 450px;
    border: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(30px);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    border-radius: 10px;
    padding: 50px 40px;
}

.login-box h1 {
    font-size: 36px;
    text-align: center;
    line-height: 1;
}

.login-box .input-box {
    position: relative;
    margin: 30px 0;
}

.login-box .input-box input {
    width: 100%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    outline: none;
    border-radius: 40px;
    padding: 13px 50px 13px 20px;
    font-size: 16px;
    color: #fff;
}

.login-box .input-box input::placeholder {
    color: #fff;
}

.login-box .input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.login-box .remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin: -15px 0 15px;
}

.login-box .remember-forgot label {
    display: flex;
}

.login-box .remember-forgot label input {
    accent-color: #fff;
    margin-right: 6px;
}

.login-box .remember-forgot a:hover,
.login-box .register-link a:hover {
    text-decoration: underline;
}

.login-box .btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

.login-box .register-link {
    display: flex;
    justify-content: center;
    font-size: 14.5px;
    margin-top: 15px;
}

.login-box .register-link a {
    font-weight: 600;
    margin-left: 4px;
}

.register-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.register-box {
    width: 850px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 20px;
    padding: 45px;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}

.register-header {
    text-align: center;
    margin-bottom: 35px;
}

.register-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.register-header p {
    opacity: .8;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-box {
    position: relative;
}

.input-box input {
    width: 100%;
    padding: 14px 45px 14px 20px;
    border-radius: 12px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, .15);
    color: white;
    font-size: 15px;
}

.input-box input::placeholder {
    color: #ddd;
}

.input-box i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.btn {
    width: 100%;
    margin-top: 35px;
    padding: 14px;
    border: none;
    border-radius: 30px;
    background: white;
    color: #071d3a;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

.btn:hover {
    background: linear-gradient(135deg, #071d3a, #00634d);
    color: white;
    transform: translateY(-3px);
}

.login-link {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
}

.login-link a {
    color: white;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}

.animate-register {
    animation: showBox .8s ease forwards;
}

@keyframes showBox {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-item {
    opacity: 0;
    animation: showItem .6s ease forwards;
}

.animate-item:nth-child(1) {
    animation-delay: .2s;
}

.animate-item:nth-child(2) {
    animation-delay: .35s;
}


.animate-item:nth-child(3) {
    animation-delay: .5s;
}

.animate-item:nth-child(4) {
    animation-delay: .65s;
}

@keyframes showItem {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ESTILOS ALERTA DE REGISTRO EXISTOSO */
.suyofact-alert {
    width: 600px !important;
    background: #071d3a !important;
    border-radius: 25px !important;
    border: 2px solid #00634d !important;
    box-shadow:
        0 0 20px rgba(0, 255, 170, .35),
        0 0 45px rgba(0, 120, 100, .25),
        inset 0 0 30px rgba(0,0,0,.5) !important;
    padding: 45px !important;
}

.suyofact-alert .swal2-title {
    color:white !important;
    font-size:38px !important;
    font-weight:700 !important;
}

.suyofact-alert .swal2-html-container {
    color:#eeeeee !important;
    font-size:18px !important;
    margin-top:15px !important;
}

.suyofact-alert b {
    color:#65d35b !important;
    font-size:22px !important;
}

.suyofact-alert .swal2-success {
    border-color:#65d35b !important;
}

.suyofact-alert .swal2-success-line-tip,
.suyofact-alert .swal2-success-line-long {
    background-color:#65d35b !important;
}

.suyofact-alert .swal2-success-ring {
    border-color:rgba(101,211,91,.4) !important;
}

.suyofact-alert .swal2-timer-progress-bar {
    background:#00a86b !important;
    height:5px !important;
}

.swal2-show {
    animation:
    suyofactShow .5s ease forwards !important;
}

@keyframes suyofactShow {
    from {
        opacity:0;
        transform:
        translateY(-40px)
        scale(.85);
    }

    to {
        opacity:1;
        transform:
        translateY(0)
        scale(1);
    }
}

/* RESPONSIVE */