
@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700);

:root{
    --timed-teal: #00b7bd;        /* color principal (header/botón) */
    --timed-teal-dark: #00949b;   /* tono un poco más oscuro */
    --timed-teal-light: #5adfe3;  /* tono claro para degradados/sombras */
}

html, body {
    height: 100%;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* FONDO ESTILO TIMED – PRIMERA IMAGEN */
.timed-login-bg {
    min-height: 100vh;
    width: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    overflow: hidden;

    /* Degradado turquesa */
    background:
        linear-gradient(135deg, #00b7bd 0%, #01c0c8 45%, #00949b 100%);
}

/* Círculos suaves y transparentes */
.timed-login-bg::before,
.timed-login-bg::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.22;
}

/* Círculo grande arriba-izquierda + círculo pequeño centro-derecha */
.timed-login-bg::before {
    top: -80px;
    left: -40px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at center,
        rgba(255, 255, 255, 0.45) 0%,
        rgba(255, 255, 255, 0.0) 70%
    );
    /* círculo pequeño lado derecho */
    box-shadow:
        520px 200px 0 0 rgba(255, 255, 255, 0.30);
}

/* Círculos pequeños abajo-izquierda y abajo-centro */
.timed-login-bg::after {
    bottom: -40px;
    left: 120px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at center,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.0) 70%
    );
    /* otro círculo más pequeño */
    box-shadow:
        -80px -260px 0 0 rgba(255, 255, 255, 0.22);
}

/* Contenedor principal */
.timed-login-container {
    width: 100%;
    max-width: 1080px;
    display: flex;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 2;
}

/* Panel izquierdo */
.timed-login-left {
    flex: 1.1;
    padding: 48px 40px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35) 0, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.18) 0, transparent 55%),
        linear-gradient(145deg, var(--timed-teal) 0%, var(--timed-teal-dark) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timed-login-left-logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.timed-login-left-logo span {
    display: block;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 0.2em;
}

.timed-login-left h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timed-login-left h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
}

.timed-login-left p {
    font-size: 13px;
    line-height: 1.7;
    max-width: 340px;
    opacity: 0.9;
}

/* Panel derecho */
.timed-login-right {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.timed-login-card {
    border-radius: 0;
    width: 100%;
    border: none;
    box-shadow: none;
}

.timed-login-card .card-body {
    padding: 40px 40px 32px 40px;
}

.timed-login-title {
    font-size: 22px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 6px;
    color: #222b45;
}

.timed-login-subtitle {
    font-size: 12px;
    color: #8f9bb3;
    margin-bottom: 24px;
}

/* Inputs */
.timed-input {
    border: none;
    border-bottom: 1px solid #e4e9f2;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none !important;
    font-size: 14px;
}

.timed-input:focus {
    border-color: var(--timed-teal);
}

.timed-label {
    font-size: 12px;
    color: #8f9bb3;
}

/* Botón principal turquesa */
.btn-timed-primary {
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    background-color: var(--timed-teal);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0, 183, 189, 0.45);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.btn-timed-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 12px 26px rgba(0, 183, 189, 0.55);
    transform: translateY(-1px);
}

.btn-timed-primary:active {
    transform: translateY(1px);
    box-shadow: 0 6px 16px rgba(0, 148, 155, 0.5);
}

/* Links turquesa */
.timed-register a,
.text-info {
    color: var(--timed-teal) !important;
}

.timed-register {
    font-size: 13px;
    margin-top: 12px;
}

.timed-register a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .timed-login-container {
        flex-direction: column;
        max-width: 520px;
    }

    .timed-login-left {
        padding: 32px 28px;
        text-align: center;
        align-items: center;
    }

    .timed-login-left p {
        max-width: 100%;
    }

    .timed-login-card .card-body {
        padding: 30px 28px 24px 28px;
    }
}

@media (max-width: 575px) {
    .timed-login-bg {
        padding: 16px;
    }
}

/* Wrapper para el campo de contraseña + botón ojo */
.timed-password-wrapper {
    position: relative;
}

/* Deja espacio a la derecha para el botón */
.timed-password-wrapper .timed-input {
    padding-right: 36px;
}

/* Botón ojo mostrar/ocultar contraseña */
.btn-toggle-password {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0;
    font-size: 18px;
    line-height: 1;
    color: #8f9bb3;
    cursor: pointer;
}

.btn-toggle-password:hover {
    color: #01c0c8;
}

.btn-toggle-password:focus {
    outline: none;
}
