/* 
   Ulysses Premium Login Styles
   Baseado na estética de Glassmorphism e Mesh Gradients
*/

@keyframes meshGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes pulse-soft {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.login-page-wrapper {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(-45deg, #dcf3f5, #e0efe1, #f5f7fa, #dcf3f5);
    background-size: 400% 400%;
    animation: meshGradient 15s ease infinite;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Blobs de fundo */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #007bcb;
    top: -100px;
    left: -100px;
    animation: float 20s infinite alternate;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: #44b858;
    bottom: -150px;
    right: -100px;
    animation: float 25s infinite alternate-reverse;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #fcdc2c;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 450px;
    margin: auto;
    padding: 2rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    box-shadow: 0 30px 60px -12px rgba(0, 123, 203, 0.15);
    transform: translateY(-5px);
}

.logo-box {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1351B4, #071D41);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 15px 30px rgba(19, 81, 180, 0.3);
}

.logo-box img {
    width: 65%;
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
}

.btn-premium {
    background: linear-gradient(90deg, #1351B4, #071D41);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(19, 81, 180, 0.4);
}

.btn-premium:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 15px 25px -5px rgba(19, 81, 180, 0.5);
    filter: brightness(1.1);
}

.btn-premium:active:not(:disabled) {
    transform: scale(0.98);
}

.btn-gov {
    background: white;
    color: #1351b4;
    border: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    opacity: 0.6;
    cursor: not-allowed;
}

.requirement-box {
    background: rgba(19, 81, 180, 0.05);
    border: 1px solid rgba(19, 81, 180, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 1.5rem;
}

.hidden-login-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-out;
}

.show-login-section {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.animate-pulse-slow {
    animation: pulse-soft 3s infinite ease-in-out;
}
