/* ============================================
   TASKFLOW — Login styles
   ============================================ */

.tf-login-body {
    font-family: "Open Sans", sans-serif;
    background: var(--tf-sidebar-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Formas geométricas */
.tf-geo-shape {
    position: absolute;
    opacity: 0.05;
    z-index: 0;
    animation: tf-float 8s ease-in-out infinite;
}

.tf-geo-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--tf-primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: -200px;
    left: -150px;
}

.tf-geo-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--tf-primary);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    bottom: -100px;
    right: -100px;
    animation-duration: 10s;
    animation-direction: reverse;
}

.tf-geo-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--tf-success);
    border-radius: 50%;
    top: 60%;
    left: 10%;
    animation-duration: 6s;
}

@keyframes tf-float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Wrapper */
.tf-login-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

/* Card */
.tf-login-card {
    background: var(--tf-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Logo */
.tf-login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.tf-login-logo-text {
    font-size: 26px;
    font-weight: 700;
    color: var(--tf-dark);
    letter-spacing: 0.5px;
}

.tf-login-logo-text span {
    color: var(--tf-primary);
}

/* Título */
.tf-login-title {
    text-align: center;
    margin-bottom: 30px;
}

.tf-login-title h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--tf-dark);
    margin-bottom: 6px;
}

.tf-login-title p {
    font-size: 13px;
    color: var(--tf-muted);
    margin: 0;
}

/* Grupos de formulario */
.tf-login-group {
    margin-bottom: 20px;
}

.tf-login-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--tf-dark);
    margin-bottom: 6px;
    display: block;
}

.tf-login-input-wrap {
    position: relative;
}

.tf-login-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tf-muted);
    z-index: 5;
    font-size: 16px;
}

.tf-login-input {
    width: 100%;
    height: 46px;
    padding-left: 40px;
    padding-right: 12px;
    border: 1px solid var(--tf-border);
    border-radius: 6px;
    font-size: 14px;
    color: var(--tf-dark);
    font-family: "Open Sans", sans-serif;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    outline: none;
    background: var(--tf-white);
}

.tf-login-input:focus {
    border-color: var(--tf-primary);
    box-shadow: 0 0 0 3px rgba(64, 153, 255, 0.1);
}

.tf-login-input.is-invalid {
    border-color: var(--tf-danger);
}

.tf-login-error {
    font-size: 12px;
    color: var(--tf-danger);
    margin-top: 5px;
    display: block;
}

/* Recordarme */
.tf-login-remember {
    margin-bottom: 24px;
}

.tf-login-remember label {
    font-size: 13px;
    color: var(--tf-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Botón */
.tf-login-btn {
    width: 100%;
    height: 46px;
    background: var(--tf-primary);
    color: var(--tf-white);
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.3px;
    font-family: "Open Sans", sans-serif;
}

.tf-login-btn:hover {
    background: var(--tf-primary-dark);
}

/* Footer */
.tf-login-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: var(--tf-muted);
}
