﻿@import url(https://fonts.googleapis.com/css?family=Titillium+Web:300,400,600);

*,
*:before,
*:after {
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

body {
    background: #13151a;
    font-family: 'Titillium Web', sans-serif;
}

a {
    text-decoration: none;
    color: #1ab188;
    transition: .5s ease;
}

    a:hover {
        color: #179b77;
    }

.form {
    background: rgba(19, 35, 47, 0.9);
    padding: 40px;
    max-width: 600px;
    margin: 40px auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px 4px rgba(19, 35, 47, 0.3);
}

.tab-group {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

    .tab-group:after {
        content: "";
        display: table;
        clear: both;
    }

    .tab-group li {
        float: left;
        width: 50%;
    }

        .tab-group li a {
            display: block;
            padding: 15px;
            background: rgba(160, 179, 176, 0.25);
            color: #a0b3b0;
            font-size: 20px;
            text-align: center;
            cursor: pointer;
            transition: .5s ease;
        }

    .tab-group .active a {
        background: #1ab188;
        color: #ffffff;
    }

.tab-content > div:last-child {
    display: none;
}

h1 {
    text-align: center;
    color: #ffffff;
    font-weight: 300;
    margin: 0 0 20px;
}

label {
    position: absolute;
    transform: translateY(6px);
    left: 13px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.25s ease;
    pointer-events: none;
    font-size: 18px;
}

    label .req {
        margin: 2px;
        color: #1ab188;
    }

    label.active {
        transform: translateY(-20px);
        font-size: 14px;
        color: #ffffff;
    }

    label.highlight {
        color: #ffffff;
    }

input,
textarea,
select {
    font-size: 22px;
    display: block;
    width: 100%;
    padding: 5px 10px;
    background: none;
    background-image: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-radius: 0;
    transition: border-color .25s ease, box-shadow .25s ease;
}

    input:focus,
    textarea:focus {
        outline: none;
        border-color: #1ab188;
    }

textarea {
    border: 2px solid #a0b3b0;
    resize: vertical;
}

.field-wrap {
    position: relative;
    margin-bottom: 40px;
}

.top-row:after {
    content: "";
    display: table;
    clear: both;
}

.top-row > div {
    float: left;
    width: 48%;
    margin-right: 4%;
}

    .top-row > div:last-child {
        margin-right: 0;
    }

.button {
    border: 0;
    outline: none;
    padding: 15px 0;
    border-radius: 0;
    background: #1ab188;
    color: #ffffff;
    font-size: 18px;
    transition: all .5s ease;
    cursor: pointer;
}

    .button:hover,
    .button:focus {
        background: #179b77;
    }

.button-block {
    width: 100%;
}

.forgot {
    margin-top: -20px;
    text-align: right;
}

/* =======================
   LOADER ANIMATION
   ======================= */

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 35, 47, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 8px solid #a0b3b0;
    border-top: 8px solid #1ab188;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    animation: spin 1s linear infinite;
}

.loader-text {
    margin-top: 15px;
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}




/* =======================
    L O G I N
   ======================= */
.remember-forgot-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
    margin-top: -15px;
    position: relative;
}

.forgot-password {
    text-align: right;
    font-size: 14px;
    color: #1ab188;
    transition: .5s ease;
    position: relative;
    text-decoration: none;
}

    .forgot-password:hover {
        color: #179b77;
    }

.remember-wrapper .checkbox-label {
    position: relative;
    transform: none;
    left: auto;
    font-size: 14px;
    display: flex; /* Asegura que el checkmark y el texto estén en línea */
    align-items: center;
}

.remember-wrapper a {
    color: inherit; /* Hereda el color blanco/gris */
    text-decoration: none;
    transition: none;
    position: relative; /* Aseguramos que no se salga */
}

.remember-wrapper .checkbox-label span {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 0;
}

.checkbox-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    user-select: none;
    display: flex; /* Asegura que se muestre en línea */
    align-items: center;
    gap: 8px;
}

    .checkbox-label span {
        color: inherit;
        text-decoration: none;
        transition: none;
    }

/* Dar espacio a la derecha del input para que el texto no toque el ojo */
input[type="password"], input[type="text"] {
    padding-right: 35px;
}