* {
    box-sizing: border-box;
}

body.login-page {
    margin: 0;
    min-height: 100vh;
    background: url("/static/landing_page/img/dashboard.png") center center / cover no-repeat;
    background-attachment: fixed;
    font-family: Inter, system-ui, Arial, sans-serif;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

.overlay {
    background: rgba(0, 0, 0, 0.55);
    position: absolute;
    inset: 0;
    z-index: 0;
}

.language-box {
    position: fixed;
    top: 16px;
    left: 24px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #374151;
}

.language-button {
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    font-size: 14px;
}

.language-button.active {
    color: #818cf8;
}

.language-separator {
    color: #6b7280;
}

.greeting {
    position: fixed;
    top: 16px;
    right: 24px;
    z-index: 20;
    font-size: 18px;
    font-weight: 600;
    color: #818cf8;
}

.login-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.login-card,
.store-card {
    width: 100%;
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid #374151;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.login-card {
    max-width: 448px;
    padding: 32px;
}

.store-card {
    max-width: 360px;
    padding: 24px;
}

.brand-title {
    margin: 0 0 16px;
    font-size: 40px;
    font-weight: 700;
    color: #818cf8;
    text-align: center;
}

.login-subtitle,
.store-subtitle {
    text-align: center;
    color: #d1d5db;
}

.login-subtitle {
    margin: 0 0 24px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #374151;
    background: rgba(31, 41, 55, 0.6);
    color: #ffffff;
    outline: none;
}

.form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.45);
}

.password-group {
    position: relative;
}

.password-input {
    padding-right: 42px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 32px;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
}

.primary-button,
.outline-button,
.store-button {
    width: 100%;
    border-radius: 10px;
    padding: 10px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.primary-button {
    border: none;
    background: #4f46e5;
    color: #ffffff;
}

.primary-button:hover {
    background: #4338ca;
}

.outline-button {
    border: 1px solid #6366f1;
    background: transparent;
    color: #c7d2fe;
}

.outline-button:hover {
    background: rgba(99, 102, 241, 0.2);
}

.login-links {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
}

.login-links a {
    color: #9ca3af;
    text-decoration: none;
}

.login-links a:hover {
    color: #818cf8;
}

.store-title {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 700;
    color: #fbbf24;
    text-align: center;
}

.store-button {
    display: block;
    margin-top: 16px;
    background: #f59e0b;
    color: #000000;
}

.store-button:hover {
    background: #d97706;
}

.login-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
    font-size: 14px;
    color: #d1d5db;
    background: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(10px);
    border-top: 1px solid #374151;
}

.version {
    color: #818cf8;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .login-wrapper {
        flex-direction: column;
        padding: 90px 16px 70px;
    }

    .login-card,
    .store-card {
        max-width: 100%;
    }

    .greeting {
        right: 16px;
        font-size: 15px;
    }
}