html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f8fbff;
}

.login-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fbff;
    color: #071226;
}

.login-bg-diagram {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("/assets/img/login-bg-only_v2.0.25.png?v=2.0.25");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 1;
    transform: none;
}

.login-shell {
    position: relative;
    z-index: 1;
    width: 390px;
    max-width: calc(100vw - 32px);
    padding-bottom: 48px;
}

.login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    padding: 36px 40px 34px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.955);
    border: 1px solid rgba(214, 224, 236, 0.88);
    box-shadow:
        0 20px 52px rgba(15, 23, 42, 0.11),
        0 1px 0 rgba(255, 255, 255, 0.92) inset;
    text-align: center;
    backdrop-filter: blur(10px);
}

.login-logo-area {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.login-logo-img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.08));
}

.login-app-title {
    font-size: 25px;
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -0.35px;
    color: #071226;
}

.login-app-subtitle {
    margin-top: 6px;
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.35;
    color: #6b7890;
    font-weight: 500;
}

.login-google-wrap {
    display: flex;
    justify-content: center;
    min-height: 42px;
    margin-bottom: 19px;
}

#googleLoginButton {
    width: 320px;
    max-width: 100%;
}

.login-card-desc {
    font-size: 12.5px;
    line-height: 1.45;
    color: #6b7890;
}

.login-error {
    margin-top: 12px;
    min-height: 18px;
    color: #dc2626;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.login-footer {
    position: fixed;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 22px;
    text-align: center;
    color: #7b8798;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1px;
    pointer-events: none;
}

.top-bar {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border-bottom: 1px solid #dcdfe6;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.app-title {
    font-weight: bold;
    font-size: 14px;
}

.top-bar-spacer {
    flex: 1;
}

#currentUserInfo {
    font-size: 13px;
    color: #303133;
}

#btnLogoff {
    height: 30px;
    padding: 0 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
}

#btnLogoff:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.editor-placeholder {
    margin: 24px;
    padding: 24px;
    border: 1px dashed #b8c2cc;
    border-radius: 12px;
    background: #ffffff;
}

@media (max-width: 720px) {
    .login-shell {
        width: 100%;
        padding: 0 18px 58px;
        box-sizing: border-box;
    }

    .login-card {
        padding: 32px 24px 32px;
        border-radius: 18px;
    }

    .login-logo-img {
        width: 60px;
        height: 60px;
    }

    .login-app-title {
        font-size: 23px;
    }
}
