/* login.css - Estilos Exclusivos de Login/Auth */

/* O body do login tem classe específica .login-mode */
body.login-mode {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    height: 100vh;
}

.login-split-screen {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* --- LADO ESQUERDO (Roxo) --- */
.login-left {
    width: 50%;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 60px;
    color: white;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.login-left::-webkit-scrollbar {
    display: none;
}

/* Blobs de fundo */
.login-bg-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.4;
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: #4f46e5;
    animation: float 12s infinite alternate;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: #c026d3;
    animation: float 18s infinite alternate-reverse;
}

/* Timeline e Conteúdo */
.login-story-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 600px;
    margin: auto 0;
}

.hero-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-left: 15px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding-left: 15px;
}

.hero-subtitle {
    font-size: 16px;
    color: #c7d2fe;
    margin-bottom: 50px;
    font-weight: 400;
    line-height: 1.6;
    padding-left: 15px;
    opacity: 0.9;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 10px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
    padding-bottom: 40px;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.step-marker {
    width: 20px;
    height: 20px;
    background: #4f46e5;
    border: 4px solid #312e81;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
    margin-top: 25px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.step-item::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 45px;
    height: calc(100% - 25px);
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.step-item:last-child {
    padding-bottom: 0;
}

.step-item:last-child::after {
    display: none;
}

.glass-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px 30px;
    backdrop-filter: blur(12px);
    flex: 1;
    transition: transform 0.3s ease, background 0.3s;
}

.glass-card:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px 0;
}

.step-desc {
    font-size: 15px;
    color: #e0e7ff;
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

/* --- LADO DIREITO --- */
.login-right {
    width: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 20;
}

.login-box {
    width: 100%;
    max-width: 440px;
    padding: 50px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #ffffff;
}

.btn-google-fixed {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    color: #1e293b;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-top: 25px;
}

.btn-google-fixed:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, 60px);
    }
}

/* Mobile Login */
@media (max-width: 768px) {
    .login-split-screen {
        flex-direction: column;
        height: auto;
    }

    .login-left {
        width: 100%;
        height: auto;
        padding: 40px 20px;
        overflow: visible;
    }

    .login-right {
        width: 100%;
        height: 100vh;
        background: white;
        padding: 40px 20px;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        margin-top: -30px;
    }

    .login-box {
        box-shadow: none;
        padding: 20px;
        border: none;
    }
}