.login-overlay {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;

    .login-modal {
        background-color: #1a1a1a;
        border-radius: 8px;
        width: 100%;
        max-width: 360px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        box-shadow: 0 8px 16px #000;

        .login-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            background-color: #3a3a3a;
            border-bottom: 1px solid #444;

            .login-title {
                font-size: 1.125rem;
                font-weight: bold;
                color: #fff;
            }

            .login-close-button {
                background: none;
                border: none;
                color: #fff;
                font-size: 1.5rem;
                cursor: pointer;
                padding: 0;
                line-height: 1;
                width: 2rem;
                height: 2rem;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 4px;
            }
        }

        .login-body {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            padding: 1rem;
            background: #4a4a4a;

            .login-field {
                display: flex;
                flex-direction: column;
                gap: 0.375rem;
                color: #ccc;
                font-size: 0.875rem;

                input {
                    padding: 0.5rem;
                    border: 1px solid #444;
                    border-radius: 4px;
                    background-color: #6a6a6a;
                    color: #fff;
                    font-family: inherit;
                    font-size: 0.875rem;
                }
            }
        }

        .login-actions {
            display: flex;
            gap: 0.75rem;
            padding: 1rem;
            border-top: 1px solid #666;
            background: #4a4a4a;

            .login-button {
                flex: 1;
                padding: 0.5rem 1rem;
                font-size: 0.875rem;
                font-weight: 600;
                border-radius: 6px;
                cursor: pointer;
                border: 2px solid transparent;
                font-family: inherit;
                transition: all 0.2s;

                &.login-button--login {
                    background-color: #1976d2;
                    color: #fff;
                }

                &.login-button--logout {
                    background-color: #2a2a2a;
                    color: #ccc;
                    border-color: #444;
                }
            }
        }
    }
}
