/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0277BD 0%, #263238 100%);
    position: relative;
    overflow: hidden;
}

.login-card {
    width: 100%;
    max-width: 480px;
    padding: 48px 40px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.6s ease-out;
    position: relative;
    z-index: 1;
}

.language-selector-container {
    position: absolute;
    top: 16px;
    right: 16px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
    margin-top: 24px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.logo-icon {
    font-size: 48px !important;
    animation: rotate 3s ease-in-out infinite;
}

@keyframes rotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(15deg);
    }
}

.logo-text {
    font-weight: 300 !important;
    color: #0277BD;
}

.subtitle {
    color: #78909C;
    font-weight: 300;
}

.login-form {
    margin-bottom: 24px;
}

.login-button {
    margin-top: 8px;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(2, 119, 189, 0.3);
}

.login-footer {
    margin-top: 24px;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #ECEFF1;
}

.footer-text {
    color: #90A4AE;
}

/* Snowflake animation */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.snowflake-icon {
    position: absolute;
    top: -10%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 40px;
    animation: fall linear infinite;
    user-select: none;
}

.snowflake-icon:nth-of-type(1) {
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
    font-size: 28px;
}

.snowflake-icon:nth-of-type(2) {
    left: 30%;
    animation-duration: 15s;
    animation-delay: 2s;
    font-size: 36px;
}

.snowflake-icon:nth-of-type(3) {
    left: 50%;
    animation-duration: 10s;
    animation-delay: 4s;
    font-size: 32px;
}

.snowflake-icon:nth-of-type(4) {
    left: 70%;
    animation-duration: 18s;
    animation-delay: 1s;
    font-size: 44px;
}

.snowflake-icon:nth-of-type(5) {
    left: 90%;
    animation-duration: 14s;
    animation-delay: 3s;
    font-size: 24px;
}

@keyframes fall {
    from {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }
    to {
        top: 110%;
        transform: translateX(100px) rotate(360deg);
    }
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 8px;
    align-items: center;
}

.language-button {
    min-width: 80px !important;
    height: 36px !important;
}

.language-content {
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-code {
    font-weight: 600;
    font-size: 14px;
}

.language-name {
    font-size: 12px;
}

/* Responsive */
@media (max-width: 600px) {
    .login-card {
        margin: 16px;
        padding: 32px 24px;
    }

    .logo-icon {
        font-size: 36px !important;
    }

    .logo-text {
        font-size: 1.75rem !important;
    }
    
    .language-button {
        min-width: 60px !important;
    }
}
