/* koleo/recursos/css/login.css */
:root {
    --login-bg: #0f172a;
    --login-accent: #4f46e5;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: var(--font-main);
    background: var(--login-bg);
    overflow: hidden;
}

/* Stunning Mesh Background */
.login-body-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(30, 64, 175, 0.1) 0px, transparent 50%);
    position: relative;
}

/* Floating Abstract Shapes (Decorative) */
.shape {
    position: absolute;
    filter: blur(60px);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.6;
    animation: floating 10s infinite alternate ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #3b82f6;
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #6366f1;
    bottom: -50px;
    right: -50px;
    animation-delay: -2s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: #1e40af;
    top: 40%;
    left: 50%;
    opacity: 0.3;
    animation-delay: -5s;
}

@keyframes floating {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Glassmorphism Card */
.login-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.25rem 2.5rem 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.login-logo {
    margin-bottom: 0;
}

.login-logo h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.05em;
    margin: 0;
}

.login-inst-logo {
    width: 300px;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.login-logo p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8125rem;
    font-weight: 700;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Form Styling */
.login-form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.login-form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.login-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.login-input:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), #3730a3);
    color: #ffffff !important;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none !important;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9375rem;
    margin-top: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, #6366f1, #4338ca);
}

.login-form-group a {
    transition: color 0.2s ease;
}

.login-form-group a:hover {
    color: white !important;
}

/* Social Login Section */
.social-login-separator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.75rem 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-login-separator::before,
.social-login-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.social-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-btn.google:hover {
    color: #ea4335;
    border-color: rgba(234, 67, 53, 0.3);
}

.social-btn.instagram:hover {
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.3);
}

.social-btn.facebook:hover {
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.3);
}

/* Footer Link */
.login-reg-link {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.login-reg-link a {
    color: white;
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

.login-reg-link a:hover {
    text-decoration: underline;
}

/* Alerts */
.login-alert {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.1);
    color: #fca5af;
    text-align: justify;
    line-height: 1.5;
}

.login-alert i {
    margin-top: 2px;
}

/* Brand Footer (KOLEO + Slogan) */
.login-brand-footer {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.login-brand-footer h2 {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.login-brand-footer h2 strong {
    font-weight: 950;
    color: #ffffff;
}

.login-brand-footer p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 700;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    text-align: center;
}